Message339387
No, the first example is expected,
BUT the middle two work
HENCE the last should NOT have a problem either...
No?
Because the middle two work,
so should the last complete without any errors.
There were no code changes,
Therefore the problem is with python
On Wed, 3 Apr 2019, 23:42 Ronald Oussoren <report@bugs.python.org> wrote:
>
> Ronald Oussoren <ronaldoussoren@mac.com> added the comment:
>
> 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.
>
> ----------
> nosy: +ronaldoussoren
> resolution: -> not a bug
> stage: -> resolved
> status: open -> closed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue36514>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2019-04-03 10:49:09 | Colin Dick | set | recipients:
+ Colin Dick, ronaldoussoren, SilentGhost |
2019-04-03 10:49:09 | Colin Dick | link | issue36514 messages |
2019-04-03 10:49:09 | Colin Dick | create | |
|