VPython 7.4.3: improved access to files such as .jpg files

21 views
Skip to first unread message

Bruce Sherwood

unread,
Apr 3, 2018, 7:17:27 PM4/3/18
to VPython-users
Update to VPython 7.4.3. Thanks to Matt Craig for building the 7.4.3 installers.

If using Anaconda, get the latest version this way: conda update -c vpython vpython

Otherwise, use this: pip install vpython --upgrade

What's new: If you reference a file such as a .jpg image, VPython first looks for that file based on the same folder as your .py program and then, if it doesn't find the file there, it looks in Lib/site-packages/vpython/vpython_data. Note that if you put your file in vpython_data, it will be accessible to all your programs, no matter where they are.

Bruce

Reply all
Reply to author
Forward
0 new messages