0

how can I import from others files in python?

python

16th Jan 2017, 1:37 AM
Andres Melo
Andres Melo - avatar
2 ответов
+ 5
save the file with that then u can use import myfile #myfile is ur previous file name or from . import myfile #import myfile
16th Jan 2017, 1:42 AM
Sun
Sun - avatar
0
thank you. i could add files in this way
16th Jan 2017, 2:08 AM
Andres Melo
Andres Melo - avatar