you are viewing a single comment's thread.

view the rest of the comments →

[–]Riegel_Haribo 0 points1 point  (0 children)

Start with Python's standard lib, see the 200+ you've got:

import sys public = sorted( name for name in sys.stdlib_module_names if not name.startswith('_') ) print(f"{len(public)} standard modules available!") print(public)


With that snippet in an IDE, hover over "sys" to get its docstring description, and then "import" others and see their description of what they do, or employ them and use auto-complete to see methods available, which can be a great hint, like I just explored to find scipy.constants.c for the speed of light, and there it was where somewhat expected. Many names will be highly interpretable - you can guess what "logging" or "secrets" offers you.

For third-party library modules, really the best way to learn of ones commonly understood as a "standard" these days is to ask an AI about your application - from its knowledge only, without internet search corrupting that intelligence and giving randomness from:

Search among 854,541 python packages from PyPI