When you are done writing your Python script you have the option of saving it as an ``applet'' (by selecting ``Save as applet'' from the ``File'' menu). This has a significant advantage in that you can drop files or folders onto it, to pass them to the applet the way command-line users would type them onto the command-line to pass them as arguments to the script. However, you should make sure to save the applet as a separate file, do not overwrite the script you are writing, because you will not be able to edit it again.
Accessing the items passed to the applet via ``drag-and-drop'' is done using the standard sys.argv mechanism. See the general documentation for more
Note that saving a script as an applet will not make it runnable on a system without a Python installation.
Vedete Circa questo documento... per informazioni su modifiche e suggerimenti.