variable naming query

loial jldunn2000 at googlemail.com
Thu Jul 12 12:33:03 CEST 2007


I'ma a newbie python user and would like clarification on variable
naming conventions.

What is the difference between

self.myvariable
self._myvariable
self.__myvariable

and when should I use each of them?




More information about the Python-list mailing list