简体   繁体   中英

How can I run my Python script as a "drag and drop" icon on the dock? (MacOS)

I've got a little Python script here for batch renaming files. Really simple.

Py2app can definitely do this, make sure you enable the “argv_emulation” option to convert dragged files to command-line arguments.

Did you figure out how to do this? I'm interested in a similar use. Very simple batch renamer.

"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM