Community Data Science Workshops (Fall 2014)/November 7th Windows projects download: Difference between revisions

imported>Mako
(Created page with "In this section, we'll download everything we need for tomorrow's projects. ==Wordplay== 200px ===Download the Wordplay project=== We've written som...")
 
imported>Mako
Line 39:
 
 
==ColorWallShakespeare==
 
[[File:Shakespeare.jpg]]
 
[[File:Colorwall_matrix.png|200px]]
 
===Download the ColorWallShakespeare project===
 
You'll be writing graphical effects for ColorWall. Download the ColorWall code and example effects so you're ready to start working with them tomorrow:
 
# Right click the following file, click "Save Target as..." or "Save link as...", and save it to your Desktop directory: http://mako.cc/teaching/2014/cdsw-autumn/ColorWallshakespeare.zip
# The ".zip" extension on the above file indicates that it is a compressed Zip archive. We need to "extract" its contents. To do this, click on "Start", then "Computer", and navigate to your Desktop directory. Find ColorWall.zip on your Desktop and double-click on it to "unzip" it. That will create a folder called ColorWall containing several files.
 
===Test the ColorWallShakespeare code===
 
Start a command prompt and navigate to the Desktop\ColorWall directory where the ColorWallShakespeare code lives. For example, if the ColorWallShakespeare project is at <code>C:\Users\mako'''{Your User Name}'''\Desktop\ColorWall</code>,
 
cd C:\Users\mako'''{Your User Name}'''\Desktop\ColorWall
 
will change you into that directory, and
 
dirls
 
will show you the source code files in that directory. One of the files is "run.py", which has a ".py" extension indicating that it is a Python script. Type:
Line 78 ⟶ 80:
===Success!===
 
You've completed setup for the ColorWallShakespeare project.
 
==Success!==
Anonymous user