Must standard libraries for beginner pythons

Although it can be a lot, but since I am very new to python, therefore, what modules or classes in standard libraries should I know when programming in python, especially when I deal with programming problems from a book in C ++? Libraries that can make my life easier? Since there cannot be a single correct answer, I am making this wiki question.

+3
source share
7 answers

Check out the excellent Python Module blog block .

+9
source

, , Python. , , , .

:

+9

re . itertools .

: . wxPython GUI, numPy , Django Amara XML ... Python. .

+5

, ++- Python Python, tuple, list, set dict; , max, min, sorted reversed.

, , in, key= list.sort, , , dict(list_of_pairs), del, .. , Python .

. collections.defaultdict. /, open .

+4

math

, python ( , ), , . , , ...

+4

, , , Python, ; ++ - (, GUI) - , numpy/scipy, .

+2

Standard library, especially built-in functions. They seem trivial, but can give impressive results!

Indeed, it is worth knowing the basics of installing python by default. If in doubt, just follow the python questions. Some answers are just awesome :)

+1
source

Source: https://habr.com/ru/post/1724298/


All Articles