Common runnable python modules

Written on November 23, 2025

1 min. read
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
python3 -m http.server      # Web server
python3 -m pdb              # Debugger  
python3 -m json.tool        # JSON formatter
python3 -m venv             # Virtual environment
python3 -m unittest         # Test runner
python3 -m timeit           # Timer
python3 -m cProfile         # Profiler
python3 -m zipfile          # ZIP operations
python3 -m base64           # Base64 encode/decode
python3 -m calendar         # Calendar display
python3 -m dis              # Disassembler
python3 -m site             # Show Python paths
python3 -m pip              # Package manager
python3 -m ensurepip        # Install pip
python3 -m tarfile          # TAR operations
python3 -m platform         # Platform info
python3 -m uuid             # Generate UUID
python3 -m compileall       # Compile .py files
python3 -m py_compile       # Compile single file
python3 -m trace            # Trace execution
python3 -m tokenize         # Tokenize Python code
python3 -m webbrowser       # Open browser