← Learn
Safe
python3 -m venv .venv

cross-platform · bash · Beginner

Creates an isolated Python environment in a new .venv directory. It writes only inside that directory and is the standard way to avoid installing packages into the system interpreter.

Think you can spot these under time pressure?

Start Training

More Python