Anonymous user
Boston Python Workshop 3/Friday/Windows project dependencies: Difference between revisions
Boston Python Workshop 3/Friday/Windows project dependencies (view source)
Revision as of 19:02, 7 July 2011
, 12 years agoupdated for color wall no classes
imported>Jesstess (Created page with '==ColorWall== ===Download the ColorWall project=== You'll be writing graphical effects for an existing ColorWall project. Download this ColorWall code and example effects so yo…') |
imported>Lizdenys (updated for color wall no classes) |
||
Line 7:
# Create a new folder called ColorWall on your Desktop
# Save the following files to the ColorWall folder:
#* http://web.mit.edu/
#* http://web.mit.edu/
#* http://web.mit.edu/
#* http://web.mit.edu/
#* http://web.mit.edu/lizdenys/www/BostonPythonWorkshop3/ColorWall/wall.py
===Test the ColorWall code===
Start a command prompt and navigate to the Desktop/ColorWall directory where the ColorWall code lives. For example, if the ColorWall project is at <code>
<pre>
cd
</pre>
Line 33 ⟶ 34:
at the command prompt to execute the run.py Python script. You should see a window pop up and start cycling through colorful effects. If you don't, let a staff member know.
Now type:
<pre>
python run.py -a -s
</pre>
at the command prompt to execute the run.py Python script so that it runs only the advanced effects. You should see a window pop up and start cycling through different colorful effects. If you don't, let a staff member know.
You can also run both sets of effects by typing:
<pre>
python run.py -a
</pre>
===Success!===
|