advanced-python-homework-2023/README.md

55 lines
1.2 KiB
Markdown
Raw Normal View History

2023-09-19 12:27:43 +03:00
# advanced-python-homework-2023
2023-09-29 17:46:34 +03:00
## Student:
[Ilia Tambovtsev](https://t.me/hyperpopa)
2023-09-29 07:18:26 +03:00
## Materials
- [Homework](https://sciprogcentre.github.io/green-courses/advanced_python.html)
2023-09-28 22:04:57 +03:00
2023-09-29 07:18:26 +03:00
## Controls (1st homework)
2023-09-28 22:04:57 +03:00
### Venv creation:
```
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
### Documentation
2023-09-29 17:46:34 +03:00
#### Build
```
cd docs
make.bat
```
2023-09-29 07:18:26 +03:00
#### From scratch
2023-09-28 22:04:57 +03:00
1. run sphinx initialization: `sphinx-quickstart docs`
2. add project packages: `sphinx-apidoc -o docs/source .`
3. edit `conf.py`
2023-09-29 17:46:34 +03:00
2023-09-28 22:04:57 +03:00
```py
import sys
import os
sys.path.insert(0, os.path.abspath("../../"))
extensions = [
'sphinx.ext.duration',
'sphinx.ext.doctest',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
]
```
2023-09-29 07:18:26 +03:00
4. add `modules` after `Contents:` in `index.rst`
2023-09-29 17:46:34 +03:00
5. run `make.bat`
2023-11-07 22:19:27 +03:00
## Interpreters (2nd homework)
- [assignment](https://sciprogcentre.github.io/green-courses/pages/advanced_python/2023/hw/02.html)
- [solution](./interpreters)
## Turtle Device (3rd homework)
- [assignment](https://sciprogcentre.github.io/green-courses/pages/advanced_python/2023/hw/03.html)
- [solution](./turtle)
2023-11-16 21:21:10 +03:00
## Turtle Thread (4th homework)
2023-11-07 22:19:27 +03:00
- [assignment](https://sciprogcentre.github.io/green-courses/pages/advanced_python/2023/hw/04.html)
2023-11-16 21:21:10 +03:00
- [solution](./turtle)