Day 16: VPython on a USB Stick
The video shows a VPython program which simulates a fan cart that has an initial velocity to the right, but the fan is blowing in the opposite direction, causing it to slow down and speed back up to the left.
We’ve been having issues getting VPython installed and running properly on our school network. With the help of Perica Zivkovic at PortablePython.com, I’ve made a version that will run off a USB stick (or a your network drive, where ever). Just unzip the Portable VPython 5.7 folder and put it the unzipped folder on the USB stick (or where ever).
To run IDLE:
- Inside the Portable Python folder, go into the App folder.
- Drag the file icon “Idle.py” on top of the file icon “Pythonw.exe”
I’m sure there must be a script I could write to automate that process, but I don’t know how.
This is great because now students can use VPython on most any computer. (Though I don’t think this will work with Macs.)