daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Sep 26th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Test(object):
  2.     def t1(self):
  3.         print "t1!"
  4.        
  5.     def t2(self):
  6.         print "t2!"
  7.  
  8. test = Test
  9. lst = []
  10. lst.append(test.t1)
  11. lst.append(test.t2)
  12.  
  13. if __name__ == "__main__":
  14.     lst[0]()
  15.     lst[1]()
RAW Paste Data
Top