There is no setup.py in the directory, but there are these files:
BeautifulSoup.py browser.pyc __init__.pyc sponsoredlinks.py
BeautifulSoup.pyc googlesets.py search.py translate.py
browser.py __init__.py search.pyc
Can someone please tell me how to setup or use this module?
Thanks!
解决方案
The simplest way to begin using that code on your system is:
put the files into a directory on your machine,
add that directory's path to your PYTHONPATH
Step 2 can be accomplished from the Python REPL as follows:
import sys
sys.path.append("/home/username/google_search")
An example of how your filesystem would look:
home/
username/
google_search/
BeautifulSoup.py
browser.py
googlesets.py
search.py
sponsoredlinks.py
t