Module Main
[hide private]
[frames] | no frames]

Source Code for Module Main

 1  # -*- coding: utf8 -*- 
 2   
 3  from fr.umlv.python.demo.HelloWorld import HelloWorld 
 4  import sys 
 5   
 6  if __name__ == '__main__': 
 7      hello = HelloWorld("Maximus") 
 8      print >> sys.stdout, hello.__repr__() 
 9      try : 
10          hello.translate("russian") 
11      except NotImplementedError, e: 
12          print >> sys.stderr, "La methode n'est pas implementee" 
13