Hello World using Python on Symbian OS

# import the app user interface framework module
import appuifw
 
# create a single-field dialog (text input field): appuifw.query(label, type)
data = appuifw.query(u"Type your name", "text")
 
# create an information note: appuifw.note(label, type)
appuifw.note(u"Hello "+str(data)+", welcome to Python World", "info")

Bang…how many lines for a hello world? Baah, I doubt if people like symbian app development.

Posted via email from [root@localhost /root]#