Jump to content


Ch 7 From Athletelist Import Athletelist

  • Please log in to reply
1 reply to this topic

#1 Why999


    New Member

  • Members
  • Pip
  • 1 posts

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.

#2 paulbarry


    Advanced Member

  • O'Reilly Author
  • PipPipPipPipPipPipPipPip
  • 307 posts

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