Top "Urllib" questions

Python module providing a high-level interface for fetching data across the World Wide Web.

Download pdf using urllib?

I am trying to download a pdf file from a website using urllib. This is what i got so far: …

python pdf urllib
should I call close() after urllib.urlopen()?

I'm new to Python and reading someone else's code: should urllib.urlopen() be followed by urllib.close()? Otherwise, one would …

python urllib
Make an http POST request to upload a file using Python urllib/urllib2

I would like to make a POST request to upload a file to a web service (and get response) using …

python http post urllib2 urllib
How to use urllib in python 3?

Here is my problem with urllib in python 3. I wrote a piece of code which works well in Python 2.7 and …

python-3.x urllib
Python, opposite function urllib.urlencode

How can I convert data after processing urllib.urlencode to dict? urllib.urldecode does not exist.

python urllib
Overriding urllib2.HTTPError or urllib.error.HTTPError and reading response HTML anyway

I receive a 'HTTP Error 500: Internal Server Error' response, but I still want to read the data inside the error …

python urllib2 urllib http-error
Get size of a file before downloading in Python

I'm downloading an entire directory from a web server. It works OK, but I can't figure how to get the …

python urllib
cannot urllib.urlencode a URL in python

Why am I getting this error when trying to urlencode this string >>> callback = "http://localhost/application/authtwitter?…

python urlencode urllib
pip, proxy authentication and "Not supported proxy scheme"

Trying to install pip on a new python installation. I am stuck with proxy errors. Looks like a bug in …

python pip urllib pypi urllib3
Python3: JSON POST Request WITHOUT requests library

I want to send JSON encoded data to a server using only native Python libraries. I love requests but I …

python json urllib