You can copy the code below the line "# The code below is just for testing purposes." from http://wiki.maemo.org/PyMaemo/Hildon...mantle_only.29 , but the applet won't show up in the status menu (even if it is fully working anyway). You may be able to see error messages, though.
If you don't mind rebooting, I used http://www.velocityreviews.com/forum...22&postcount=3 to see what error messages a different Python applet was throwing as the N900 started. Best Regards, Faheem