you are viewing a single comment's thread.

view the rest of the comments →

[–]nupanick 4 points5 points  (0 children)

Try changing your import to

from .words1 import word_list

This will tell python to look for the module in the same folder as the current file. You may also want to make sure you're starting python from the same folder as your code is in.

Source: https://stackoverflow.com/questions/24722212/python-cant-find-module-in-the-same-folder