I have two files say a.py and b.py.
in a.py , we do
import xxx
from b import *
in b.py we have a function which requires module xxx.
Now when the function in b.py is called from a.py it cant find the module xxx.
Why is that and what can be the solution here?
i cant do import xxx in b.py for some reason.
MCV:
a.py
import xxx
from b import *
fun()
b.py
def fun():
xxx.dosomething()
Error:
Global name xxx not defined