On Thu, Jan 24, 2013 at 1:56 PM, Matthew Ngaha <chigga...@gmail.com> wrote: > > py is not recognized and and it said "depending on how it was > installed". the problem is it didnt allow me to select a path when > installing.
The simpler installer is launchwin.msi, which installs to the Windows directory. This directory should already be on the PATH. In a cmd shell, check that 'assoc .py' is "Python.File" and that 'ftype Python.File' points to py.exe in your Windows directory, e.g. "C:\Windows\py.exe "%1" %*'. If it's wrong, re-install. Or fix it manually using assoc and ftype in an elevated cmd shell, which updates the local machine registry keys in HKLM\Software\Classes. Also, Windows Explorer has an "Open With" dialog that configures per-user settings for multiple associations, including a default (i.e. the "Always use..." checkbox). These keys are stored in HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.py. Make sure that UserChoice is set to the Progid "Python.File". You should be able to change this using the 'Open With->Choose Default Program...' dialog. You can customize pylauncher by editing its ini file in your profile. For example, run 'notepad %localappdata%\py.ini' to create/edit it. See the docs for the settings, such as changing the default interpreter and adding custom shebangs. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor