can't pass command-line arguments

BartlebyScrivener rpdooling at gmail.com
Sun Apr 9 22:53:53 EDT 2006


Duh! Headsmack.

Thanks. But also, I discovered something else. If I name the script
findmyfiles.py and run it from the command line while in the directory
where it is stored (on windows), I must run it as:

findmyfiles.py d:/notes notes*.*

I was used to being able to run scripts by just typing the script name,
even without the .py extension, but

findmyfiles d:/notes notes*.*   does not work

Thank you, Felipe




More information about the Python-list mailing list