I am not a Python pro by any means and this seems like it should have a simple solution but I can’t find it anywhere.
I have a pyw file with a simple tkinter script and when it runs the tkinter window pops open. That is how it worked until recently. Now when running the file it opens up the text editor.
I recently had a new install of Python on my computer. My office has ArcGIS Pro and ArcMap and as part of those installs both Python 2.7 and Python 3.4 are installed on my computer. Recently a new version of Pro was installed so my Python version 3 was replaced. That must have something to do with it but I can’t figure out how.
I have tried setting the default app to python.exe and pythonw.exe in both the Python 2.7 and 3.4 and none of those have worked.
I apologize for my ignorance. But are you saying to copy that into cmd? Because if I do, I simply get an error saying “File type ‘Python.NoConFile’ not found or no open command associated with it.”