One easy thing to do is to use the View->FileTypes menu in Windows and create a new "action" for .py files, say "test", and define it to be c:\python20\python.exe -i "%1" The -i tells python to execute the file and then pause to wait for more input. Thus the console does not disappear. Then you right-click on a .py file and choose "test" to run your program.