There are two ways to simulate command-line arguments with MacPython.
sys.argv
, so that
it will appear to the script as though they had been typed on a
command line. As on Unix systems, the first item in sys.srgv
is
the path to the applet, and the rest are the files dropped on the
applet.
See About this document... for information on suggesting changes.