![]() |
Download and Install VPython on Windows |
![]() |
(Though it is not necessary, you may wish to uninstall any version of Python earlier than Python 2.3. Use the Add/Remove Programs control panel to remove old versions of VPython and Python.)
Download Python-2.3.4.exe and VPython-2003-10-05.exe and install them by double-clicking on the files.
IMPORTANT NOTES:
Problems have been reported when Python was installed into Program Files.
Note to experienced users of IDLE: The VPython installer overwrites Lib\idlelib\config-main.def to add the Visual reference manual to the Help menu, and to make the defaults editor-on-startup= 1 and autosave= 1, as these have proved to be appropriate for most new users of VPython. You may wish to edit the file to reset these parameters to zero, or use the Options menu to reconfigure these options, or save a copy of the file before installing VPython and restore it afterwards. If you already have Numeric installed, it will be replaced; if you want to retain it, copy it elsewhere before installing VPython, then copy it back.
Be sure to read the section below, "To start using VPython."
The VPython installer installs the Visual 3D module, demo programs, and Visual documentation into Lib/site-packages/visual in the Python folder. It also installs the Numeric module, which Visual requires. A shortcut to IDLE and the VPython demo programs is placed on the desktop.
If you are using Windows 95, you may need to install OpenGL, the graphics library used by VPython.
Start IDLE by doubleclicking the "IDLE for Python" shortcut on the desktop.
Open a demo program -- for example, bounce2.py.
Press F5 to run (or use the Run menu).
Every time you run, your files are automatically saved (if you have changed them).
Choose Visual on the Help menu for documentation.
You can also start IDLE from the "Python 2.3: IDLE (Python GUI)" entry on the Programs portion of the Windows Start menu, then open a demo program in C:\Python23\Lib\site-packages\visual\demos.
Once you have downloaded the VPython package, later revisions to components of this package can be downloaded separately below. If in doubt about whether you are up to date on all components, simply install the complete VPython package.
For help with installation problems, see FAQ
or
Read
archives or subscribe to the VPython user group
After installing Python and VPython, the following individual components have already been installed, but these zip files can be used later to update without reinstalling the whole package.
Demos, Documentation for any platform