Jun-09-2019, 08:22 PM
(This post was last modified: Jun-09-2019, 09:08 PM by Reverend_Jim.)
I don't understand what you are saying. When I run other python scripts from a cmd shell via Windows file association they work fine. The one that imports pymsgbox does not.
Got a solution. When I ran ftype I got
D:\Utils>ftype | grep -i python
Python.ArchiveFile="C:\WINDOWS\py.exe" "%L" %*
Python.CompiledFile="C:\WINDOWS\py.exe" "%L" %*
Python.File="C:\Program Files\Python36\python.exe" "%L" %*
Python.NoConArchiveFile="C:\WINDOWS\pyw.exe" "%L" %*
Python.NoConFile="C:\WINDOWS\pyw.exe" "%L" %*
I reset Python.File to C:\Program Files\Python36\python.exe and now things work as they should. I'll be resetting the rest shortly.
Got a solution. When I ran ftype I got
D:\Utils>ftype | grep -i python
Python.ArchiveFile="C:\WINDOWS\py.exe" "%L" %*
Python.CompiledFile="C:\WINDOWS\py.exe" "%L" %*
Python.File="C:\Program Files\Python36\python.exe" "%L" %*
Python.NoConArchiveFile="C:\WINDOWS\pyw.exe" "%L" %*
Python.NoConFile="C:\WINDOWS\pyw.exe" "%L" %*
I reset Python.File to C:\Program Files\Python36\python.exe and now things work as they should. I'll be resetting the rest shortly.