Twitter project Windows setup: Difference between revisions

→‎Test the TwitterAPI code: Fixed some cmd-to-powershell stuff, added code tags, removed a run.py reference.
imported>Mako
No edit summary
imported>Ben zen
(→‎Test the TwitterAPI code: Fixed some cmd-to-powershell stuff, added code tags, removed a run.py reference.)
 
Line 15:
==Test the TwitterAPI code==
 
Start aup command promptPowerShell and navigate to the Desktop\TwitterAPI directory where the TwitterAPI code lives. For example, if the TwitterAPI project is at <code>C:\Users\'''YOURUSERNAME'''\Desktop\TwitterAPI</code>,
 
cd C:\Users\'''YOURUSERNAME'''\Desktop\TwitterAPI
Line 21:
will change you into that directory, and
 
dirls
 
will show you the source code files in that directory. One of the files is "<code>twitter1.py</code>", which has a "<code>.py</code>" extension indicating that it is a Python script. Type:
 
python twitter1.py
 
at the command prompt to execute the run<code>twitter1.py</code> Python script. Wait a little while while your computer connects to Twitter. You should see a series of tweets run by your screen. If you don't, let a staff member know.
 
==Success!==
Anonymous user