import python | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

import python

Hi! I was wondering how import works exactly. I keep getting errors. (in Python 3)

2nd Nov 2019, 5:07 PM
Julia R
3 Respostas
+ 2
import statement runs a Python file, any global variable that was declared in the file will be brought to the main program with a namespace of the file name.
2nd Nov 2019, 5:15 PM
Seb TheS
Seb TheS - avatar
+ 2
Can you delete the duplicates of this question, please?
2nd Nov 2019, 5:17 PM
Seb TheS
Seb TheS - avatar
0
Julia Reinhard Please delete duplicate questions.
2nd Nov 2019, 5:41 PM
AĶ¢J
AĶ¢J - avatar