This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients Colin Dick, SilentGhost, ronaldoussoren
Date 2019-04-03.10:42:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554288162.91.0.0897038643497.issue36514@roundup.psfhosted.org>
In-reply-to
Content
This is not a bug:

* "python -m NAME" runs module (or package) NAME as a script, NAME should therefore be a module name and not a filename (and hence not have a .py suffix)

* "python NAME" runs a script in file NAME and should therefore by a complete file name, including a suffix when the file name has a suffix.

In your examples "python -m vixsd.py" and "python vixsd" correctly raise an error.
History
Date User Action Args
2019-04-03 10:42:42ronaldoussorensetrecipients: + ronaldoussoren, SilentGhost, Colin Dick
2019-04-03 10:42:42ronaldoussorensetmessageid: <1554288162.91.0.0897038643497.issue36514@roundup.psfhosted.org>
2019-04-03 10:42:42ronaldoussorenlinkissue36514 messages
2019-04-03 10:42:42ronaldoussorencreate