Лучшие методы программирования Python – каждый разработчик Python должен знать

1. Create a code repository and implement version control

The structure of a typical project looks like this:

– Docs/conf.py

Configuration Directory

– docs/index.rst

– module/__init__.py

– module/core.py

conducts basic level classes

– tests/core.py

Most projects have tests - store them in the tests directory. This is documented for the benefit of the core Python developers.

- License

It's in the root directory and you have to add the license to your project.

– Readme.rst

It's in the root directory where you describe your project and what it does.

– Requirements.txt

It's not required, but if you use this you put it in the root directory. This Telect.txt file is used to specify which Python packages are required to run the tutorial project you are looking at.

– setup.py

This script at the root allows Distutils to build and distribute the modules needed for the project.

реклама
разместить
2 комментария

Это что за копипаста

Погань , аль потерялся (