waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

prg1.py (525B)


      1 #! /usr/bin/env python
      2 # encoding: utf-8
      3 
      4 import mod1.Mod1ObjOri
      5 import mod2.Mod2ObjOri
      6 import mod3.Mod3ObjOri
      7 
      8 
      9 if __name__ == '__main__':
     10 	print("Creating obj1 with string pippo")
     11 	obj1 = mod1.Mod1ObjOri.Mod1Class("pippo")
     12 
     13 	a = 1
     14 
     15 	print("Creating obj1 with string pLUto")
     16 	obj2 = mod2.Mod2ObjOri.Mod2Class("pLUto")
     17 
     18 	print("Creating obj3 with string pLUto")
     19 	obj3 = mod3.Mod3ObjOri.Mod3Class("pLUto")
     20 
     21 	print("Hello World, this are my results:")
     22 	print(obj1.getMyName())
     23 	print(obj2.getMyName())
     24 	print(obj3.getMyName())