os.system question

Eric Wertman ewertman at gmail.com
Thu Aug 7 13:37:00 EDT 2008


In your case you could also use the os.environ dictionary:

import os
print os.environ['USER']



More information about the Python-list mailing list