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/2000-May/004088.html below:

[Python-Dev] Attempt script name with '.py' appended instead of failing?

[Python-Dev] Attempt script name with '.py' appended instead of failing? [Python-Dev] Attempt script name with '.py' appended instead of failing?Guido van Rossum guido@python.org
Tue, 16 May 2000 06:03:07 -0400
> For about the 1,000,000th time in my life (no exaggeration :-), I just
> typed "python.exe foo" - I forgot the .py.
> 
> It would seem a simple and useful change to append a ".py" extension and
> try-again, instead of dieing the first time around - ie, all we would be
> changing is that we continue to run where we previously failed.
> 
> Is there a good reason why we dont do this?

Just inertia, plus it's "not the Unix way".  I agree it's a good idea.
(I also found in user testsing that IDLE definitely has to supply the
".py" when saving a module if the user didn't.)

--Guido van Rossum (home page: http://www.python.org/~guido/)



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