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:20, 13 May 2011
, 13 years agono edit summary
imported>Jesstess No edit summary |
imported>Jesstess No edit summary |
||
Line 13:
===Run the example effects===
Start a command prompt and navigate to the Desktop/ColorWall directory where the ColorWall code lives. For example, if the ColorWall project is at C:\Users\jesstess\Desktop\ColorWall,
<pre>
C:\Users\jesstess\Desktop\ColorWall
</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 "run.py", which has a ".py" extension indicating that it is a Python script. Type:
<pre>
python run.py
</pre>
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.
===Success!===
You've completed setup for the ColorWall project.
==WordPlay==
Line 52 ⟶ 76:
</pre>
will show you the source code files in that directory. One of the files is "setup.py", which has a ".py" extension indicating that it is a Python script.
<pre>
Line 58 ⟶ 82:
</pre>
and hit enter to install httplib2.
Navigate to the 3 other dependency directories and run
|