+ 1

do we have to import module only in the start of program?

can i import it in the middle of program?

17th Sep 2016, 12:08 PM
ankur pancholi
ankur pancholi - avatar
2 Antworten
0
you can. But it is a convention to import modules at the beginning of a program.
17th Sep 2016, 1:49 PM
Amarie
0
Similar to how variables and functions need to be declared or defined before using them in your code, modules need to be imported before using them.
7th Dec 2016, 2:25 AM
kawelo
kawelo - avatar