+ 2

Why we use import in python program

27th Jun 2019, 6:56 PM
Naina Paliwal
Naina Paliwal - avatar
3 Réponses
+ 1
To import libraries.
27th Jun 2019, 6:57 PM
Airree
Airree - avatar
+ 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.
27th Jun 2019, 8:28 PM
Seb TheS
Seb TheS - avatar
+ 1
To run code that is in another file.
27th Jun 2019, 11:42 PM
HonFu
HonFu - avatar