0

What are the most useful modules?

What modules do you think are the most useful and what do they do?

28th Nov 2016, 1:06 AM
Grady
Grady - avatar
2 Antworten
+ 1
Python has many built in modules, but probably some of the most used ones are random (provides pseudo-random stuff) and math (allows you to do more complex math operations, like sines and square roots). Each Python module has something that it is used for, and you can check out all of them at the Python Documentation: https://docs.python.org/3/library/
28th Nov 2016, 1:27 AM
Henry Riser
Henry Riser - avatar
+ 1
Every module from the standart library is essential by definition. The most commonly used depend on the application area. As for me, I often use re, math, random, os, sys, html, xml.etree, urllib (3rd party urllib2 to be faithful, but it's almost the same), unittest.
28th Nov 2016, 4:17 PM
donkeyhot
donkeyhot - avatar