Final step in making applets first-class citizens: if the applet wants
argv emulation (i.e. if the end user drops files and folders on the applets these will show up in sys.argv) BuildApplet will add the required code to the applet bundle, in __rawmain__.pyc. This code is compiled from appletrawmain.py, it creates sys.argv, cleans up most of the mess and executes either __main__.py or __main__.pyc.
Showing
Mac/Lib/appletrawmain.py
0 → 100644
Please register or sign in to comment