Modules in Python - Python Tutorial 26

Published: 19 May 2020
on channel: Automation Zone
306
22

Modules are python files.
Packages are just folders.


import will first look for files in current working dir followed by path



import file
import file1,file2

from file import function
from file import funtion1,function2
from file import class
from file import class1,class2,function1,function2
--- same for all file instances --


from file import * = here * means everything


Watch video Modules in Python - Python Tutorial 26 online without registration, duration hours minute second in high quality. This video was added by user Automation Zone 19 May 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 306 once and liked it 22 people.