Boston Python Workshop 3/Friday/Windows project dependencies: Difference between revisions

m
Protected "Boston Python Workshop 3/Friday/Windows project dependencies" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))
imported>Jesstess
imported>Jesstess
m (Protected "Boston Python Workshop 3/Friday/Windows project dependencies" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(5 intermediate revisions by 2 users not shown)
Line 59:
 
# Create a new folder called Wordplay on your Desktop
# Save http://mit.edu/jesstess/www/BostonPythonWorkshop2/Wordplay/words.pythe following files to the Wordplay folder.:
# Save# http://mit.edu/jesstess/www/BostonPythonWorkshop2BostonPythonWorkshop3/Wordplay/wordssowpods.txt to the Wordplay folder.
## http://mit.edu/jesstess/www/BostonPythonWorkshop3/Wordplay/scrabble.py
## http://mit.edu/jesstess/www/BostonPythonWorkshop3/Wordplay/scrabble_cheater.py
## http://mit.edu/jesstess/www/BostonPythonWorkshop3/Wordplay/words1.py
## http://mit.edu/jesstess/www/BostonPythonWorkshop3/Wordplay/words2.py
## http://mit.edu/jesstess/www/BostonPythonWorkshop3/Wordplay/words3.py
## http://mit.edu/jesstess/www/BostonPythonWorkshop3/Wordplay/words4.py
## http://mit.edu/jesstess/www/BostonPythonWorkshop3/Wordplay/words5.py
## http://mit.edu/jesstess/www/BostonPythonWorkshop3/Wordplay/words6.py
 
===Test the Wordplay code===
Line 76 ⟶ 84:
</pre>
 
will show you the source code files in that directory. One of the files is "wordswords1.py", which has a ".py" extension indicating that it is a Python script. Type:
 
<pre>
python wordswords1.py
</pre>
 
at the command prompt to execute the wordswords1.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!===
Line 108 ⟶ 116:
===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 C:\Users\jesstess\Desktop\httplib2-0.6.0,
 
<pre>
Line 139 ⟶ 147:
 
# Create a new folder called Twitter on your Desktop
# Save http://mit.edu/jesstess/www/BostonPythonWorkshop2BostonPythonWorkshop3/Twitter/twitter_api.py to the Twitter folder.
# Save http://mit.edu/jesstess/www/BostonPythonWorkshop3/Twitter/util.py to the Twitter folder.
 
===Test the Twitter code===
Anonymous user