[Python-Dev] Filename suffix default for command line (original) (raw)
Guido van Rossum guido at python.org
Tue Dec 16 12:41:06 EST 2003
- Previous message: [Python-Dev] Filename suffix default for command line
- Next message: [Python-Dev] Filename suffix default for command line
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Would there be any disadvantage to checking for filename.py whenever filename is not found so that "super.py" could be invoked with either "python super.py" or "python super"?
It feels horribly DOS-like. Why? To save typing three characters? Why not rename the file then?
Would "python super.py" also look for super.py.py if super.py didn't exist? What would the error message say?
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Filename suffix default for command line
- Next message: [Python-Dev] Filename suffix default for command line
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]