So I was having the usual problem with importing httplib2, I came across this and similar answers. But now I must be bold, and ask a dumb question, how do I include/link the modual into my project?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
As the link you posted to states httplib2 is not a standard library that comes with Python you have to install it first.
To install httplib2 in Python 3 you can use (Ubuntu):
or pip
Other instructions for direct download here: http://code.google.com/p/httplib2/wiki/Install
Then make sure it's on your PYTHONPATH.
Then just include it: