By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,467 Members | 1,002 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,467 IT Pros & Developers. It's quick & easy.

Launch Python program on PC

P: 1
I just wrote a small program that launches on a Mac by setting the "open with" file parameter to python launcher. How can I get the same program to run installed on a Windows desktop?
Feb 16 '20 #1
Share this Question
Share on Google+
1 Reply


100+
P: 110
On Windows, double-click a file with the extension .py to run the program.
If you did not select "Add Python X.X to Path" when installing python, by default the py.exe (Python Launcher) is associated with the .py file instead of python.exe.
Feb 17 '20 #2

Post your reply

Sign in to post your reply or Sign up for a free account.