Are higher versions of Python3 compatible with VPython 5.74 ?

50 views
Skip to first unread message

Ibrahim

unread,
Apr 22, 2020, 6:21:18 AM4/22/20
to VPython-users
Hello all
Can someone tell me that if higher versions of Python3 are compatible with VPython 5.74 because I have Python 3.7 installed on my computer. Have someone tried with newer versions of Python ? Your help will be highly appreciated.
Thanks

Bruce Sherwood

unread,
Apr 22, 2020, 11:01:56 AM4/22/20
to VPython-users
No. VPython 5.74 dates back to around 2010 and works only with Python 2. VPython 7 became available in 2016 and works with Python 3. See installation instructions at vpython.org. Also, at glowscript.org, click Help and read the section on "For those who have used Classic VPython," as there have been some changes in the VPython syntax.

Note that you can also use current VPython at glowscript.org, without installing any software; your Python program is transpiled to JavaScript and runs in the browser. Here's an example: tinyurl.com/vporbit. After playing with the camera controls, click "View this program" to see the code. Because this is based on JavaScript, it is not possible to import other Python modules.

Bruce

Ibrahim

unread,
Apr 22, 2020, 10:11:34 PM4/22/20
to VPython-users
Thank you sir
Reply all
Reply to author
Forward
0 new messages