Coordinate Grid Points
greg
greg at cosc.canterbury.ac.nz
Tue Feb 6 18:59:36 EST 2007
More information about the Python-list mailing list
Tue Feb 6 18:59:36 EST 2007
- Previous message (by thread): Coordinate Grid Points
- Next message (by thread): Coordinate Grid Points
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Eric.Gabrielson at gmail.com wrote: > class Point(object): > def _init_(self, x, y): The name of the __init__ method needs *two* underscores at each end, i.e. def __init__(self, x, y): -- Greg
- Previous message (by thread): Coordinate Grid Points
- Next message (by thread): Coordinate Grid Points
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list