English
Summary
Conclusions
CPython executes bytecode, PyCharm organizes development, the environment separates dependencies, and Git stores history. Running a program requires code and the correct interpreter; sharing a project also requires a dependency specification and instructions.
Self-check questions
- How does the Python language differ from CPython and PyPy?
- How do you choose a Python branch for a learning project?
- How does bytecode differ from source code?
- Why might
__pycache__not appear after running a script? - Where do you enter shell commands, and where do you enter Python expressions?
- What are
main()and the__name__check for? - How do you read a traceback and find the line with the error?
- How do Run, Python Console, and Terminal differ?
- How do you verify the project interpreter?
- Is activating a virtual environment required?
- Why is the
python -m pipform useful? - What does
requirements.txtstore, and what does it not describe? - What does uv use
pyproject.tomlanduv.lockfor? - How do the working directory, staging area, and repository differ?
- Which files must you share to reproduce a lab assignment?
Useful links
- Python: https://docs.python.org/3.14/.
- Environments: https://docs.python.org/3.14/tutorial/venv.html.
- PyCharm: https://www.jetbrains.com/help/pycharm/.
- uv: https://docs.astral.sh/uv/.
- Git: https://git-scm.com/book/uk/v2.