Anonymous user
Philadelphia Python Workshop/Setup/Linux project dependencies: Difference between revisions
Philadelphia Python Workshop/Setup/Linux project dependencies (view source)
Revision as of 00:30, 25 July 2013
, 10 years ago→Test the Twitter code
imported>Abatula |
imported>Abatula |
||
Line 127:
After it runs, it should state that it ran 41 tests on the code, and the final line should say "OK." If your test failed, ask an instructor for help.
After successfully testing the dependencies, use the cd command again to navigate to the Twitter folder. Use the ls command again to view the files in this folder. One of the files is "twitter_api.py", which has a ".py" extension indicating that it is a Python script.
<pre>
CONSUMER_SECRET = 'We will give this to you in class :)'
</pre>
Change the string to the consumer secret string that we will give you in class. Save the file and go back to the command line. Now type:
<pre>
|