-m switch revisited - see issue 27487
Win 10 64bit
python 3.6.3 & 3.7.3
initially running code using py 3.6.3 with this command
python -m vixsd.py
produced
C:\Python36\python.exe: Error while finding module specification for 'vixsd.py' (AttributeError: module 'vixsd' has no attribute '__path__')
updated python from 3.6.3 to 3.7.3
searched & read web
retried the 4 options with & without "-m" & ".py"
results reproduced below
c:\shared\python\vmw>python vixsd
python: can't open file 'vixsd': [Errno 2] No such file or directory
c:\shared\python\vmw>python vixsd.py
A
c:\shared\python\vmw>python -m vixsd
A
c:\shared\python\vmw>python -m vixsd.py
A
C:\Python3\python.exe: Error while finding module specification for 'vixsd.py' (ModuleNotFoundError: __path__ attribute not found on 'vixsd' while trying to find 'vixsd.py')
while this was initially produced thru my ignorance,
handling all 4 options still does not work correctly
appears to have been a problem at least since
issue 27487
cheers team, keep up the great work
ColinDNZ |