+ 2
Why we use import in python program
3 Réponses
+ 1
To import libraries.
+ 1
You can also use importing to launch other python programs.
#After
import file_name
#You can use the names of file_name as file_name.name .
As module in Python actually means a file of Python code.
+ 1
To run code that is in another file.