How would I create an class with a Person.Address.City property?

2006-12-18 Thread Jamie J. Begin
I'm very new to the world of Python and am trying to wrap my head around it's OOP model. Much of my OOP experience comes from VB.Net, which is very different. Let's say I wanted to create an object that simply outputted something like this: import employees person = employee(joe) # Get Joe's

Re: How would I create an class with a Person.Address.City property?

2006-12-18 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], Jamie J. Begin wrote: Let's say I wanted to create an object that simply outputted something like this: import employees person = employee(joe) # Get Joe's employment file print employee.Title # What does Joe do? Developer print person.Address.City # Which city does