basic Class in Python
barryjogorman at gmail.com
Mon Jan 18 00:25:40 CET 2010
On Jan 17, 11:09 pm, John Bokma <j... at castleamber.com> wrote:
> BarryJOgorman <barryjogor... at gmail.com> writes:
> > class Person:
> > def _init_(self, name, job=None, pay=0):
> def __init__(self, name, job=None, pay=0):
> Note 2x _ before and after init.
> John Bokma j3b
> Hacking & Hiking in Mexico - http://johnbokma.com/http://castleamber.com/- Perl & Python Development
Many thanks - onward and upward!
More information about the Python-list