Access to file dropped on .exe/.app icon

Kamy.Iltcheva at gmail.com Kamy.Iltcheva at gmail.com
Sun Apr 22 08:23:14 EDT 2007


On Apr 22, 1:41 pm, Martin <martin.clau... at gmail.com> wrote:
> If i create an app using py2exe/py2app is there then a way on windows/
> mac to get access to a file dragged and dropped on to the .exe/.app
> icon?
>
> Martin

Windows:
import sys
print sys.argv[1:]




More information about the Python-list mailing list