"Kayvan Sarikhani" <[email protected]> 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 site
http://www.alan-g.me.uk
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
