Hello all,

Created a python file that has a class and three methods. When I jump into
interactive mode I import like so:

from <file> import <class>

Now when I try to use a method from the class:

var1 = class.method()

It give me this error:
TypeError: unbound method <methodname> must be called with <classname>
instance as first argument (got int instance instead)

I'm not sure what is going on event after consulting with google
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to