Python - drag file into .exe to run script
Posted
by PPTim
on Stack Overflow
See other posts from Stack Overflow
or by PPTim
Published on 2010-05-26T19:07:39Z
Indexed on
2010/05/26
19:11 UTC
Read the original article
Hit count: 371
Hi,
I have a Python script that takes the directory path of a text file and converts it into an excel file. Currently I have it running as a console application (compiled with py2exe) and prompts the user for the directory path through raw_input().
How do i make it such that I can drag & drop my text file directly into the .exe of the python script?
Thanks,
© Stack Overflow or respective owner