urllib.request

Stdlib — NetworkingPython 2.0+Advanced

Open URLs: HTTP GET/POST, auth, proxies, redirects

Quick Info

Documentation
Official Docs
Python Version
2.0+
Dependencies
None — Python Standard Library
Install
Included with Python

Learn by Difficulty

Quick Example

python
import urllib.request

print(f"Module: urllib.request")
print(f"Contents: {dir(urllib.request)[:10]}")

The urllib.request module is part of Python's standard library. Open URLs: HTTP GET/POST, auth, proxies, redirects.

Try in Playground

Tags

stdlibnetworkinginternet