Structures

George Sakkis george.sakkis at gmail.com
Mon Nov 3 19:17:43 EST 2008


On Nov 3, 6:51 pm, "Paulo J. Matos" <pocma... at gmail.com> wrote:
> On Mon, Nov 3, 2008 at 11:47 PM, Joe Strout <j... at strout.net> wrote:
> > On Nov 3, 2008, at 4:38 PM, Paulo J. Matos wrote:
>
> >> However, I wouldn't dare to say Python needs structures to be a good
> >> language, or anything similar. My question was more directed to : if
> >> there aren't structures in Python, what do Pythonists use instead?
>
> > Classes.
>
> ok, so that goes back to what I said on my first post. Classes with no
> private fields/methods.

Technically there are no private attributes in (pure) Python so the
answer is still classes.

George



More information about the Python-list mailing list