[Python-Dev] Filename suffix default for command line

Guido van Rossum guido at python.org
Tue Dec 16 12:41:06 EST 2003

> 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/)

More information about the Python-Dev mailing list