Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
Ivan Rodriguez no problem. In short, yes you can by doing from module import Something # suppose Something is a class inst = Something() or simply import module inst = module.Something() But I suggest you read this article to understand modules and packages better https://realpython.com/JUMP_LINK__&&__python__&&__JUMP_LINK-modules-packages/
24th Jan 2021, 8:03 PM
XXX
XXX - avatar
+ 1
https://www.sololearn.com/learning/2438/
24th Jan 2021, 4:43 PM
XXX
XXX - avatar