On 2005-07-14, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> i remember freezing a python console app i wrote some time ago using
> the mcmillan installer (kinda like py2exe) and was surprised to
> discover that binaries dragged and dropped onto the .exe file were
> handled properly as args...making a kind of no-gui drag and drop...

Do you mean you draged a file onto the .exe using the windows
explorer?

In this case the script just has to read in the first commandline
argument, as the Win-Explorer does the d&d work and passes
the filename of the droped file on to the script.

You can test that easily by creating a small .bat file:
echo %1
pause


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to