What are modules and how do I know if something is a valid module? How do I know what modules there are? How do I know what commands are in each module? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What are modules and how do I know if something is a valid module? How do I know what modules there are? How do I know what commands are in each module?

15th Sep 2016, 11:39 AM
Giovanni
2 Answers
+ 1
Modules are essentially python files that contain a bunch of different functions for you to use. There are many modules that come with python, and you access them by importing them. As for the rest, the python.org site has full documentation on all the standard modules, including all the functions they contain. For modules not included by default, you can install them using pip. Once they are installed you can import them the same as the standard ones.
15th Sep 2016, 4:09 PM
Luke Armstrong
0
thanks!
16th Sep 2016, 11:05 AM
Giovanni