On 10/25/06, Asrarahmed Kadri <[EMAIL PROTECTED]> wrote: > Why is it necessary to explicity use self argument in the class functions > ?? I feel the language/interpreter should figure out which object has called > the function? Isnt it ? (the use of 'self' keyword really confuses me. and > to make matter worse the variables can be accessed from outside teh class. > Isnt it a violation of the OOP principle of ENCAPSULATION)
<http://tinyurl.com/y5mcea> > Also please let me know hwo can we declare PRIVATE VARIABLES in Python...?? <http://tinyurl.com/y5f2nz> -- Cheers, Simon B [EMAIL PROTECTED] http://www.brunningonline.net/simon/blog/ _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor