I have this hierarchy:
myfile.py
Spider
----__init__.py
----spiders
----------------file.py
and the file.py
contains class myClass
I used to do this inside the myfile.py
from Spider.spiders.file import myClass
now I changed my hierarchy, and I put myfile.py
inside a folder named newFolder
, so the new hierarchy is:
newFolder
------myfile.py
Spider
----__init__.py
----spiders
----------------file.py
and I changed the path as this:
from ... import Spider.spiders.file.myClass
but I got invalid syntax
in the spiders.spiders
help please