gustafl at algonet.se
Sun Jul 8 19:42:11 EDT 2001
Peter Hansen <peter at engcorp.com> wrote:
>I think you mean the "sys" module above, not the "os" module.
>and you run it from another directory (e.g. 'python c:\windows\test.py'
>or 'python /tmp/test.py' what do you get?
I made this script:
And here I run it from another directory:
That works. Now I run it from the same directory, but still with the full
That works too, but look here when I run it with only the filename:
Nothing! This is the problem I have. It think the second and third case
ought to mean the same.
More information about the Python-list