Author manlioperillo
Recipients
Date 2004-06-20.13:39:12
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1054957

Thanks for sys.executable and 'nul' hints!

I only want to add two notes:

1) isrealfile(file('nul')) -> True

So 'nul' has a 'real' implementation

2) sys.executables isn't very useful for me, since I can do:
    pythonw ascript.py > afile

In this case sys.stdout is a 'real file', so I don't want to
redirect it to a null device.


In all cases, isrealfile work as I want.
History
Date User Action Args
2008-01-20 09:56:57adminlinkissue973507 messages
2008-01-20 09:56:57admincreate