Go to file
vviora 070fc3ab18 modified: equipment/turtle_device.py
modified:   noblocking_turtle_shell.py
2023-11-17 18:11:30 +03:00
.controls new file: .controls/__init__.py 2023-09-29 11:46:36 +03:00
controls modified: controls/device.py 2023-11-17 17:39:03 +03:00
docs deleted: docs/requirements.txt 2023-09-29 20:39:34 +03:00
equipment modified: equipment/turtle_device.py 2023-11-17 18:11:30 +03:00
hwvenv new file: .controls/__init__.py 2023-09-29 20:25:07 +03:00
tests For homework 3 2023-10-13 22:33:07 +03:00
.gitignore Add .gitignore 2023-09-19 13:59:40 +03:00
LICENSE new file: .controls/__init__.py 2023-09-29 11:46:36 +03:00
noblocking_turtle_shell.py modified: equipment/turtle_device.py 2023-11-17 18:11:30 +03:00
README.md new file: .controls/__init__.py 2023-09-29 20:25:07 +03:00
setup.py new file: .controls/__init__.py 2023-09-29 11:46:36 +03:00
turtle_shell.py For homework 4 2023-11-04 19:05:45 +03:00

How to create virtual enviroment

  1. 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.

  1. Create a Virtual Enviroment. Open your terminal, choose your project directory, run the next command:
python -m venv .<venv_name>
  1. Activate the Virtual Enviroment.
.\<venv_name>\Scripts\activate
  1. 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

  1. Open your project directory
cd <path>
  1. Print
sphinx-quickstart
  1. Answer all questions that installator asks you You can change all configurations in conf.py

  2. Print

make html

You can look at your documentation by running

python -m http.server