x

Python Module

PREV    NEXT

1. Module is nothing but categorised larger parts as a smaller parts.
2 .In Python Module is nothing but Python File,Where Functions,Variables,objects and classes are defined
3. By using this we can use the existing things instead of  writing new.


Advantages:

1. By using the module concept we can reuse the modules directly in new applications
2. Same type of attributes we can place in one module

a. predefined modules

Python is having huge set of predefined libraries,few are the examples from there datetime,random,math,os,time,mailbox etc

i. Methods in math module