I am very new at python. I have an existing example project that have some scripts YYY,in path XXX/YYY and an script A.py that call these one by one.
import XXX.y1 as Y1 Y1.doSomething1() import XXX.y2 as Y2 Y2.doSomething2()
... and so,
I only want to add an script ZZZ.py to the YYY scripts in the XXX directory, so that call ZZZ.doSomething() after calling YYY.doSomething().
import XXX.y1 as Y1 Y1.doSomething1() import XXX.y2 as Y2 Y2.doSomething2() import XXX.ZZZ as Z Z.doSomething()
Why python can import XXX/YYY py files but returns this error for ZZZ.py?
Anybody could help me?
Thanks in advance.