[Tutor] Windows user variable ?

Dave S pythontut at pusspaws.net
Sun Jun 26 21:11:44 CEST 2005

Hi there,

Probably no one will remember but I had a problem porting a python
script to windows, I had a 'no such file error'

Turned out that I called the file 'memo.txt', Windows decided it was a
text file and it ended up as 'memo.txt.txt'. The windows display strips
anything after the '.', found the problem via dos :)

Anyhow - When logged into 2000 as an administrator or user is there a
system variable that I can read to let the script know who I am logged
in as ?


More information about the Tutor mailing list