What is the difference between libraries and modules in Python ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between libraries and modules in Python ?

Application of libraries in Python ?

4th Nov 2019, 3:58 AM
Rajan K
Rajan K - avatar
1 Answer
0
Modules is a .py file that contains functions/global variables/classes/etc meant to be reuse over and over. Libraries in python are basically a collection of modules.
7th Nov 2019, 7:02 PM
Gamer Chan
Gamer Chan - avatar