Python 3 - "ImportError: No module named ..."
I get the error ImportError: No module named core.text
I am using "ActivePython-3.2.2.3-win64-x64" In fact, it worked fine in 32bit win7. But I recently installed 64 bit win7. And now when I try to run the same file again it gives me an error. My directory structure:
my_SQLi.py
core
text.py
So, I don't know at this point. Why is this throwing an error !!! Where and what changes should I make?
source to share
There core
must be a file in the directory __init__.py
: this makes it a package, which means you can access submodules with the "dotted" syntax core.text
. The file __init__.py
may be empty.
Link: http://docs.python.org/3.3/tutorial/modules.html#packages
source to share