Modules in Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Modules in Python

Hello, everyone! Is there anyone who is good at Python? I need to ask something

18th Sep 2019, 10:28 AM
Elf
Elf - avatar
6 Answers
0
Please link your code?
18th Sep 2019, 11:05 AM
Trigger
Trigger - avatar
+ 1
just go ahead and ask
18th Sep 2019, 10:32 AM
Dlite
Dlite - avatar
+ 1
Can you give a concrete example?
18th Sep 2019, 11:02 AM
Dlite
Dlite - avatar
0
Go ahead. Im All Ears
18th Sep 2019, 10:38 AM
Trigger
Trigger - avatar
0
when I import only one concrete function from the module (from name_of_the_module import name_of_the_function) Python imports both functions from the module, but I need only one. :(
18th Sep 2019, 11:01 AM
Elf
Elf - avatar
0
https://code.sololearn.com/ce3NdiiNiME4/?ref=app this is the code, I want to import only print_models, but python (or geany) imports show_completed_models too
18th Sep 2019, 11:28 AM
Elf
Elf - avatar