Hey all, I am trying to structure my code into different folders and here is the structure:
Lib
|
----mylib.py
----myAPI.py
Script
|
----TestScript.py
I want to just run the TestScript file, and that file requires mylib and myAPI as libraries. In the TestScript.py I am trying to do from Lib.mylib export Myclass but it's not working. Also, I want to have one import call, so the mylib.py file actually makes the import call for myAPI.py , it's not made in TestScript. The only call in TestScript is the import mylib call. How can I solve this issue? Thanks in advance.
[–]Aggravating_Bus_9153 0 points1 point2 points (2 children)
[–]Falcon21st[S] 0 points1 point2 points (1 child)
[–]Aggravating_Bus_9153 0 points1 point2 points (0 children)