streaming twitter. install pycurl library use a lab computer from the course website download the...
TRANSCRIPT
![Page 1: Streaming Twitter. Install pycurl library Use a lab computer From the course website Download the links from pycurl and twitter streamer Extract site-packages.zip,](https://reader036.vdocument.in/reader036/viewer/2022073121/56649e2d5503460f94b1c647/html5/thumbnails/1.jpg)
Streaming Twitter
![Page 2: Streaming Twitter. Install pycurl library Use a lab computer From the course website Download the links from pycurl and twitter streamer Extract site-packages.zip,](https://reader036.vdocument.in/reader036/viewer/2022073121/56649e2d5503460f94b1c647/html5/thumbnails/2.jpg)
Install pycurl library
• Use a lab computer• From the course website
• Download the links from pycurl and twitter streamer
• Extract site-packages.zip, and you should see three files• curl (folder)• pycurl.pyd• pycurl_ssl-7.19.0-py2.7.egg-info
• Copy them• Go to C:\Python27\Lib\site-packages\, you should see a
single README.txt file there• Paste them there. This installs the pycurl library.
![Page 3: Streaming Twitter. Install pycurl library Use a lab computer From the course website Download the links from pycurl and twitter streamer Extract site-packages.zip,](https://reader036.vdocument.in/reader036/viewer/2022073121/56649e2d5503460f94b1c647/html5/thumbnails/3.jpg)
Run IDLE with Python 2.7.2
• Click Start• Type cmd in the "seasrch program or files" box• Click on cmd.exe• This is the command window. After the prompt, type
cd C:\Python27and Enter
• Then type python Lib\idlelib\idle.pyw
• This starts IDLE with Python 2.7.2. Go File->Open, and find twitter-stream.py that you downloaded.