Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.66 KB | None | 0 0
  1. from evalsupport import ClassThree
  2.  
  3. print '<[1]> evaltime module start'
  4.  
  5. class ClassOne(object):
  6.  
  7.     print '<[2]> ClassOne body'
  8.  
  9.     def __init__(self):
  10.         print '<[3]> ClassOne.__init__'
  11.  
  12.     def __del__(self):
  13.         print '<[4]> ClassOne.__del__'
  14.  
  15.     def method_x(self):
  16.         print '<[5]> ClassOne.method_x'
  17.  
  18.         class ClassTwo(object):
  19.             print '<[6]> ClassTwo body'
  20.  
  21.  
  22. if __name__ == '__main__':
  23.     print '<[11]> ClassOne tests', 30 * '.'
  24.     one = ClassOne()
  25.     one.method_x()
  26.     print '<[12]> ClassThree tests', 30 * '.'
  27.     three = ClassThree()
  28.     three.method_y()
  29.  
  30. print '<[14]> evaltime module end'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement