Boston Python workshop 2/Friday setup/Windows project dependencies: Difference between revisions

no edit summary
imported>Jesstess
No edit summary
imported>Jesstess
No edit summary
Line 3:
===Download the ColorWall project===
 
You'll be writing graphical effects for an existing ColorWall proejctproject. Download this ColorWall code and example effects so you're ready to start working with them tomorrow:
 
# Create a new folder called ColorWall on your Desktop
Line 38:
You've completed setup for the ColorWall project.
 
==WordPlayWordplay==
 
===Download the Wordplay project===
We've written some skeleton code for the Twitter project already. Download this code so you're ready to start working with it tomorrow:
 
We've written some skeleton code for the TwitterWordplay project already. Download this code so you're ready to start working with it tomorrow:
# Create a new folder called Twitter on your Desktop
 
# Save http://mit.edu/jesstess/www/BostonPythonWorkshop2/Twitter/twitter_api.py to the Twitter folder.
# Create a new folder called TwitterWordplay on your Desktop
# Save http://mit.edu/jesstess/www/BostonPythonWorkshop2/TwitterWordplay/twitter_apiwords.py to the TwitterWordplay folder.
# Save http://mit.edu/jesstess/www/BostonPythonWorkshop2/Wordplay/words.txt to the Wordplay folder.
 
===Test the Wordplay code===
 
Start a command prompt and navigate to the Desktop/Wordplay directory where the Wordplay code lives. For example, if the Wordplay project is at C:\Users\jesstess\Desktop\Wordplay,
 
<pre>
C:\Users\jesstess\Desktop\Wordplay
</pre>
 
will change you into that directory, and
 
<pre>
dir
</pre>
 
will show you the source code files in that directory. One of the files is "words.py", which has a ".py" extension indicating that it is a Python script. Type:
 
<pre>
python words.py
</pre>
 
at the command prompt to execute the words.py Python script. You should see a column of English words printed to the screen. If you don't, let a staff member know.
 
===Success!===
 
You've completed setup for the Wordplay project.
 
==Twitter==
Anonymous user