.py and running in Windows:

M

Michael Yanowitz

Hello:

Presently in my Windows 2000 system, when I double-click on a
..py file (open it) it automatically runs it in Python. I would
like to change that behavour. That is fine for .pyc file, but
for .py files, I would either like to have it run in Python but
return to the Python shell prompt when finished rather than
exit the shell. How do I do that?
Or would it cause a problem (so that Python no longer works) if
I change the default .py extension to open in an editor rather
than execute it if I open it?

Thanks:
Michael Yanowitz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top