Boston Python Workshop 3/Friday/Windows project dependencies: Difference between revisions

updated 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/jesstesslizdenys/www/BostonPythonWorkshop2BostonPythonWorkshop3/ColorWall/ascii8x8advanced_effects.py
#* http://web.mit.edu/jesstesslizdenys/www/BostonPythonWorkshop2BostonPythonWorkshop3/ColorWall/effectsascii8x8.py
#* http://web.mit.edu/jesstesslizdenys/www/BostonPythonWorkshop2BostonPythonWorkshop3/ColorWall/runeffects.py
#* http://web.mit.edu/jesstesslizdenys/www/BostonPythonWorkshop2BostonPythonWorkshop3/ColorWall/wallrun.py
#* 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>C:\Users\/home/jesstess\/Desktop\/ColorWall</code>,
 
<pre>
cd C:\Users\/home/jesstess\/Desktop\/ColorWall
</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!===
Anonymous user