Jump to content
Ch 7 From Athletelist Import Athletelist
1 reply to this topic
Posted 15 December 2013 - 08:41 PM
from athletelist import AthleteList
ImportError: No module named 'athletelist'
What is the reason for this error?
This portion of the detailed description will be appreciated.
Posted 18 December 2013 - 07:14 AM
Make sure athletelist.py in is the same folder/directory as the code that is importing it. If it isn't, Python can't find it and complains.
Hope this helps.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users