"pedro" <pedrooconn...@gmail.com> wrote
Well I made a script called droplet.py which looks like this:

#!/usr/bin/env python
# encoding: utf-8
import sys
theFilePath = sys.argv[1]
print theFilePath


But when I try to drop something on it nothing happens. Sorry I guess there is something fundamental that I am missing.

Sorry, obviously I was wrong. FWIW in XP I get python to start up but there is no filename in argv. I'll go and have a hunt in my MacOS books but sadly I don't have my iBook available just now to try anything.

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to