http.server
Stdlib — NetworkingPython 2.0+Advanced
Basic HTTP server for development and testing
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 http.server print(f"Module: http.server") print(f"Contents: {dir(http.server)[:10]}")
The http.server module is part of Python's standard library. Basic HTTP server for development and testing.
Try in PlaygroundTags
stdlibnetworkinginternet