Reference class member variable directly : Class fields : Class PYTHON examples


PYTHON examples » Class » Class fields »

 

Reference class member variable directly


Reference class member variable directly
 
class C1:
    x = 23
print C1.x                               # prints: 23


           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Class
» Class fields