From: Jack Jansen Date: Tue, 11 Sep 2001 13:08:10 +0000 (+0000) Subject: Mods by Donovan Preston (with changes by me to make them "go with the flow") X-Git-Tag: v2.2.1c1~1859 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=998a40a6d40a4ee5272f8683fbc3e9c801867fca;p=thirdparty%2FPython%2Fcpython.git Mods by Donovan Preston (with changes by me to make them "go with the flow") that will detect an __main__.py or __rawmain__.py in the application bundle. This file is then exectued as the main script. We now have applets in MachO Python!!! The difference between __main__ and __rawmain__ is that the former gets a complete simulated argv (so you can drop files on the applet and the script sees them in sys.argv) while the latter skips the argv simulation and the