In python, a method is a function defined inside the class definition. Its first argument, by convention named "self", will get passed the object on which the method is called. The following arguments get the values with which the method was called. Otherwise, there is no real "class structure" or "method structure"; you can just use self.x to access the method (or member, or whatever) x.