VPython Common Errors and Troubleshooting: Difference between revisions

From Physics Book
Jump to navigation Jump to search
(Created page with "(Lucas Christian, page 1 of 2) This reference lists out some common errors I've seen students encounter while working in VPython. Programming languages can often generate ob...")
 
No edit summary
Line 8: Line 8:


'''First, make sure you are running your code in VIDLE (not the identical-looking IDLE).'''
'''First, make sure you are running your code in VIDLE (not the identical-looking IDLE).'''
[[File:use_vidle.jpg|300px|thumb|left|Use VIDLE instead of IDLE to avoid errors and crashes.]]

Revision as of 11:40, 3 December 2015

(Lucas Christian, page 1 of 2)

This reference lists out some common errors I've seen students encounter while working in VPython. Programming languages can often generate obscure and confusing error messages, and VPython is no exception.

System/Environment Errors

If your system is not set up correctly, or the environment you are running VPython code is incorrect, a number of mysterious errors can result.

First, make sure you are running your code in VIDLE (not the identical-looking IDLE).

Use VIDLE instead of IDLE to avoid errors and crashes.