User Tools

Site Tools


ws2009:python

This is an old revision of the document!


Running VPython Using PyScripter

To run VPython from PyScripter (the preferred Python development environment that comes with Portable Python), you must make two small configuration changes to the default PyScripter settings. The basic idea is that the Python interpreter must run in a separate process, not as the built-in Python interpreter that comes with PyScripter. You must tell PyScripter where to find the external Python binary to run and ensure that when it runs, the console window is not hidden.

Here are the steps (both settings are on the same dialog page)…

- Launch PyScripter-Portable.exe.
- Open the External Run Properties dialog: Run/Configure External Run... 
- Set Properties (tab)/Command/Application to "$[PythonExe]" (without the quotes).
- Ensure that Console/Hide console option is unchecked.

Your settings should look like this:

Let Tim Korb know if you have any problems or questions.

ws2009/python.1260368656.txt.gz · Last modified: 2009/12/09 09:24 by Tim Korb