Anonymous user
Boston Python workshop 2/Friday setup/Windows project dependencies: Difference between revisions
Boston Python workshop 2/Friday setup/Windows project dependencies (view source)
Revision as of 14:24, 13 May 2011
, 13 years agono 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
# Create a new folder called ColorWall on your Desktop
Line 38:
You've completed setup for the ColorWall project.
==
===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
# Create a new folder called Twitter on your Desktop▼
# Save http://mit.edu/jesstess/www/BostonPythonWorkshop2/Twitter/twitter_api.py to the Twitter folder.▼
▲# Save http://mit.edu/jesstess/www/BostonPythonWorkshop2/
# 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==
|