"Kayvan Sarikhani" <ksarikhani at gmail.com> wrote > For the record, $LOGNAME works fine as a variable...it's a standard > env > variable 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