In python, how do I drag and drop 1 or more files onto my script as arguments with absolute path? (f

Posted by chromejs10 on Stack Overflow See other posts from Stack Overflow or by chromejs10
Published on 2010-04-17T22:24:51Z Indexed on 2010/04/17 22:33 UTC
Read the original article Hit count: 156

Filed under:
|
|
|

I am writing a simple Python script with no GUI. I want to be able to drag and drop multiple files onto my python script and have access to their absolute paths inside of the script. How do I do this in Mac, Linux, and windows? For times sake, just Mac will be fine for now.

I've googled this question and only found one related one but it was too confusing. I am currently running Mac OS X Snow Leopard.

Any help is much appreciated.

Thanks!

© Stack Overflow or respective owner

Related posts about python

Related posts about drag-and-drop