How do these Java concepts translate to Python?

Ray ray_usenet at yahoo.com
Thu Aug 11 23:39:05 EDT 2005


Devan L wrote:
> Fausto Arinos Barbuto wrote:
> > Ray wrote:
> >
> > > 1. Where are the access specifiers? (public, protected, private)
> >
> >     AFAIK, there is not such a thing in Python.
> >
> > ---Fausto
>
> Well, technically you can use _attribute to mangle it, but technically
> speaking, there are no public, protected, or private things.

OK, thanks. How about static members and instance members? Seems that
in Python everything is class-wide?

Thanks
Ray




More information about the Python-list mailing list