#!/usr/local/bin/python ## # Hello # ----- # This program prints "Hello world" on a window. # # Notice that the program automatically detects that you have # no visible windows, so it creates one and shows it for you. # # Also notice that event handling is done automatically. ## from graphapp import * def main(): gprintf("Hello world\n") main()