Python Installation and Basic Information#

Update:

2023-05-05

Installation Method#

Installing Python#

You can download it from there.

Hint

For Windows, you can select Python from Microsoft Store.

Package Management#

There are several package management systems available, but it is desirable to unify them into one system in order to avoid difficulties in management. I use poetry for unification.

  • pip

    • Package management tool included in Python

    • It will be shared throughout the machine.

  • poetry

    • Provides virtual environment and package management

    • Package management with pyproject.toml

    • Compliant with PEP

  • pipenv

    • Provides virtual environment and package management

    • Package management with Pipfile

    • You can conveniently use the script section in Pipfile

  • Conda series

    • One of the Python distributors, package management for Anaconda series

    • You can also get things that are not compiled by default

    • There are paid terms for commercial use

Installing Poetry#

Refer to the official site for installation instructions. ⇒Official site

Hint

Setting to separate virtual environments for each project
poetry config virtualenvs.in-project true

Python official documentation#

Since the documentation is generally well-developed, it is recommended to start with the official documentation.

Language reference#

Standard library#

Numerous great Python frameworks, libraries, software, and resources#

Article