"Kayvan Sarikhani" <ksarikh...@gmail.com> wrote
For the record, $LOGNAME works fine as a variable...it's a standard envvariable in Linux to display the current user's username.
In that case os.getenv('LOGNAME') should retrieve it for you HTH, -- Alan Gauld Author of the Learn to Program web sitehttp://www.alan-g.me.uk
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor