Anonymous user
Boston Python Workshop 5/Friday/OSX project dependencies: Difference between revisions
Boston Python Workshop 5/Friday/OSX project dependencies (view source)
Revision as of 23:36, 1 June 2012
, 11 years agono edit summary
imported>Jesstess4 |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 5:
You'll be writing graphical effects for an existing ColorWall project. Download this 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:
#Find ColorWall.zip on your Desktop and double-click on it to "unzip" it. That will create a folder called ColorWall containing several files.
▲#* http://web.mit.edu/jesstess/www/BostonPythonWorkshop5/ColorWall/ascii8x8.py
#* http://web.mit.edu/jesstess/www/BostonPythonWorkshop5/ColorWall/effects.py▼
#* http://web.mit.edu/jesstess/www/BostonPythonWorkshop5/ColorWall/run.py▼
===Test the ColorWall code===
Line 60 ⟶ 55:
We've written some skeleton code for the Wordplay project already. Download this code so you're ready to start working with it tomorrow:
# Right click the following file, click "Save Target as..." or "Save link as...", and save it to your Desktop directory:
#Find Wordplay.zip on your Desktop and double-click on it to "unzip" it. That will create a folder called Wordplay containing several files.
===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 <code>
<pre>
cd
</pre>
Line 116 ⟶ 103:
===Install the Twitter project dependencies===
Each of these 4 dependencies has an installer script that we'll need to run at a command prompt to install the software. '''It is important that the dependencies are installed in the order listed above.''' For each project, start a command prompt and navigate to the Desktop directory where the source code lives. For example, if the httplib2-0.6.0 project was extracted to
<pre>
cd
</pre>
Line 143 ⟶ 130:
in all of them to install those dependencies as well.
===Download the Twitter 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:
# Right click the following file, click "Save Target as..." or "Save link as...", and save it to your Desktop directory:
#
#Find Twitter.zip on your Desktop and double-click on it to "unzip" it. That will create a folder called Twitter containing several files.
===Test the Twitter code===
Start a command prompt and navigate to the Desktop/Twitter directory where the Twitter code lives. For example, if the Twitter project is at <code>
<pre>
cd
</pre>
Line 175 ⟶ 164:
You've completed setup for the Twitter project.
==State Capitals==
We'll look at an example Python script that quizzes you on state capitals during the lecture on Saturday.
# Right click the following file, click "Save Target as..." or "Save link as...", and save it to your Desktop directory:
==Success!==
You are done installing dependencies for the Saturday projects.
[[Boston Python Workshop 5/Friday|« Back to the Friday setup page]]
|