Hi all. Importing whole module or necessary function from module makes difference in speed of running of code? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Hi all. Importing whole module or necessary function from module makes difference in speed of running of code?

Is there any difference in running speed of python script if we import whole module or function from same module.

21st May 2017, 8:19 AM
Rashad Afandiyev
Rashad Afandiyev - avatar
2 Respostas
+ 1
It isn't noticable difference
21st May 2017, 1:43 PM
Aneja
0
Thank you Aneja
21st May 2017, 7:19 PM
Rashad Afandiyev
Rashad Afandiyev - avatar