As the subject :( It only happens if I've a shebang line at the top of
the file, remove that and the file is launched without the console. If
I add a w to the end of python on the shebang line I get a dialog box
"Python launcher is sorry to say ... Invalid version specification:
'w'" I've 2.7, 3.3 and now the latest version of 3.4 installed on
Windows 7. How do I go about debugging this? Section 3.4.1.3. of the
"Using Python on Windows" docs simply state "The launcher should have
been associated with Python files (i.e. .py, .pyw, .pyc, .pyo files)
when it was installed".
Below are the file types and associations which look fine to me.
Python.CompiledFile="C:\Windows\py.exe" "%1" %*
Python.File="C:\Windows\py.exe" "%1" %*
Python.NoConFile="C:\Windows\pyw.exe" "%1" %*
.py=Python.File
.pyc=Python.CompiledFile
.pyo=Python.CompiledFile
.pyw=Python.NoConFile
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32