files = {u'file': open(u'/usr/bin/diff', u'rb')} response = requests.request(method='POST', url=u'http://httpbin.org/post', files=files) But the following example ...
Pip version: 9.0.1 Python version: 3.6 (miniconda) Operating system: Ubuntu 16.04.3 LTS I am trying to install any package with pip, but this gives me a ...