Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What command do you use to create a virtual environment?
It starts with 'python -m venv'.
Why use a virtual environment?
Think about avoiding conflicts.
What command do you use to create a virtual environment?
Look for the command that starts with 'python -m'.
True or False: A requirements.txt file lists project dependencies.
Think about what this file's purpose is.
You are working on two Python projects that require different versions of the same library. How would you handle this situation effectively?
Remember how we discussed isolated dependencies?
You have created a requirements.txt file, but now you need to share your project with someone else. How do you ensure they can replicate your environment?
Think about how they will set up the same conditions as you.
5 more questions in this section. Enroll free to practise them all.
Enroll free