Tools and workflows

Choose an editor, manage packages, work with APIs, and make everyday automation reliable.

What does a Python code formatter do?

See what Ruff and Black-style formatting changes, how to check a file before writing it, and how formatting differs from linting and tests.

4 min read

Python src layout vs. flat layout

Compare src and flat Python package layouts. Check where your tests import code from and catch files missing from a built wheel.

4 min read

What does python -m do?

Run a Python module by name, learn how __main__.py works, and see why python -m pip uses the pip belonging to that interpreter.

4 min read

Search PythonProjects.org