ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-tutor
python-tutor
[Tutor] Windows user variable ?
by Dave S other posts by this author
Jun 26 2005 12:12PM messages near this date
Re: [Tutor] Alternative File I/O for Tuples (fwd) | Re: [Tutor] Windows user variable ?
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 ?

Dave
_______________________________________________
Tutor maillist  -  Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
Dave S
jfouhy

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved