A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-December/041066.html below:

[Python-Dev] Filename suffix default for command line

[Python-Dev] Filename suffix default for command lineGerrit Holl gerrit at nl.linux.org
Tue Dec 16 13:29:12 EST 2003
Raymond Hettinger wrote:
> 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"?

How about super.pyc? What if both super.pyc and super.py exist but are
not equal in effect? I think the idea is not necesarry. I think most
people have <tab> configured to do commandline completion, so 'python
supe<tab>' would probably achieve the same effect with the same amount
of keystrokes. The disadvantage is, in my opinion, sideways: people get
used to it, and it is not a good habit, because it's called super.py,
not super. I don't like this proposal, I'd give it a -0 in case anyone
is interested.

yours,
Gerrit.

-- 
202. If any one strike the body of a man higher in rank than he, he
shall receive sixty blows with an ox-whip in public.
          -- 1780 BC, Hammurabi, Code of Law
-- 
Asperger's Syndrome - a personal approach:
	http://people.nl.linux.org/~gerrit/english/

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4