I want to import requests module which is located at another path. I want to use below code. Also I could see the requests directory where the module is installed has bunch of other files. What are this needed for.
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
>>> r.status_code
200
Below are some of the contents of /Requests dir.
adapters.py
adapters.pyc
api.py
__init__.py
......
Below question has some great answer, but still confuses me.