What are modules in programming | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What are modules in programming

Import module

19th Jun 2021, 11:54 PM
Obichukwu Ezimoha
Obichukwu Ezimoha - avatar
7 Answers
+ 1
https://docs.python.org/3/tutorial/modules.html
20th Jun 2021, 12:01 AM
visph
visph - avatar
+ 1
a module is a python file with definitions, also called functions. anyone can create a module. all you need to do is define a function within a python file. you can then import that module/file.
20th Jun 2021, 12:59 AM
you are smart. you are brave.
you are smart. you are brave. - avatar
+ 1
all modules that are built in are listed in the python documentation... https://docs.python.org/3/py-modindex.html there are also a lot of third party modules, awailable through pip install, see: https://pypi.org you can also make your own, as said in the first documentation link (given in my first post) and stated by Andrew Choi...
20th Jun 2021, 1:11 AM
visph
visph - avatar
+ 1
not all modules are built in. you will have to install them using “pip install”
20th Jun 2021, 1:46 AM
you are smart. you are brave.
you are smart. you are brave. - avatar
0
Is it all module that are built in
20th Jun 2021, 1:06 AM
Obichukwu Ezimoha
Obichukwu Ezimoha - avatar
0
Thanks bro
20th Jun 2021, 2:22 AM
Obichukwu Ezimoha
Obichukwu Ezimoha - avatar
0
There is 3 type of module 1 = is written in other people mins download in external 2=is write in your self 3=is come with python software
21st Jun 2021, 3:02 PM
Hailseme Abi
Hailseme Abi - avatar