Message60508
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.
|
|
| Date |
User |
Action |
Args |
| 2008-01-20 09:56:57 | admin | link | issue973507 messages |
| 2008-01-20 09:56:57 | admin | create | |
|