Correct Directory For Tweepy Api To Add To The Pythonpath
Setup iMac 10.7.4, Eclipse Indigo, Pydev, Python 2.7 I’m trying to install the Tweepy API but the documentation is a bit sparse for any beginner programmer. I thought I had it in
Solution 1:
You can place in a folder in your PYTHONPATH.
To know which folders are in your PYTHONPATH you can run this python code
import sys
print sys.path
Also sometimes you can also add packages in your current working directory.
OR put it anywhere (probably you will have to add empty file named __init__.py ) then do this before use,
import sys
sys.path.append('/absolute/path/to/your/tweepyparentdir')
Post a Comment for "Correct Directory For Tweepy Api To Add To The Pythonpath"