Source code:
from lino.console.application import Application class Hello(Application): name="Hello" author="Luc Saffre" def run(self): print "Hello, world!" if __name__ == '__main__': Hello().main()
Output:
Hello, world!
Documentation · Modules · adamo · Examples
Source code:
from lino.console.application import Application class Hello(Application): name="Hello" author="Luc Saffre" def run(self): print "Hello, world!" if __name__ == '__main__': Hello().main()
Output:
Hello, world!
Copyright 2001-2007 Luc Saffre.
http://lino.saffre-rumma.ee
Generated 2007-06-07 16:23:41