Class problem

Rene Pijlman at
Mon Dec 8 18:22:22 CET 2003

Daniel Pryde:
>when I import it and try to make an instance of it, it returns with 
>the error that 'module' is not callable.

My guess is you should do:

  import spam
  eggs = spam.spam()

instead of:

  import spam
  eggs = spam()

If not, please post the source code and exact text of the error message.

René Pijlman

More information about the Python-list mailing list