how to import one python file into another ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to import one python file into another ?

2nd Jul 2016, 11:25 AM
swapnil Singh
swapnil Singh - avatar
4 Answers
+ 1
import filename or if u want specific function.. import filename.function()
2nd Jul 2016, 12:05 PM
Darko Filipovski
Darko Filipovski - avatar
+ 1
u can also Do from filename Import function/class
3rd Jul 2016, 2:55 PM
Loeschzwerg
0
import filename
2nd Jul 2016, 11:38 AM
Gershon Fosu
Gershon Fosu - avatar
0
thanku sir..but can u help me in my another problem
2nd Jul 2016, 12:07 PM
swapnil Singh
swapnil Singh - avatar