← Fullstack with Vue.jsQuestion 38 of 62
Examples of Python stdlib modules runnable as scripts (python -m ...):
📘 Explanation
These are all genuine stdlib modules that can be run with python -m: venv, http.server, unittest, json.tool, and cProfile all have documented CLI behavior matching what's described. The wrong options mix in things like requests, pytest, virtualenv, and yaml, which aren't part of the standard library, or misdescribe stdlib modules like os, re, sys, and itertools, which don't work that way as scripts.
Related questions
- What’s the difference between shallow and deep copy in Python?
- What types of API versioning does Django REST Framework support?
- In Django REST Framework ViewSets, which decorator is used to create a custom endpoint?
- What Django ORM feature lets you get "top N per group" (e.g. most expensive product per category) while handling ties…
- When is annotate() guaranteed to generate a GROUP BY in Django ORM?
← PreviousNo login needed