forked from Advanced_Python/advanced-python-homework-2023
modified: equipment/turtle_device.py modified: noblocking_turtle_shell.py modified: turtle_shell.py |
||
---|---|---|
.controls | ||
controls | ||
docs | ||
equipment | ||
hwvenv | ||
tests | ||
.gitignore | ||
LICENSE | ||
noblocking_turtle_shell.py | ||
README.md | ||
setup.py | ||
turtle_shell.py |
How to create virtual enviroment
- Ensure you have the latest version of Python. Print
python --version
If you have the lattest version, go to the next step. Othervise download it from the oficcial website.
- Create a Virtual Enviroment. Open your terminal, choose your project directory, run the next command:
python -m venv .<venv_name>
- Activate the Virtual Enviroment.
.\<venv_name>\Scripts\activate
- Done.
Note: if you use Virtual Studio Code, you may not have the virtual enviroment name in the beggining of the string, but your project files become green.
If you need to deactivate your Virtual Enviroment, print
deactivate
How to create a documentation
- Open your project directory
cd <path>
sphinx-quickstart
-
Answer all questions that installator asks you You can change all configurations in
conf.py
-
Print
make html
You can look at your documentation by running
python -m http.server