PVZ2tools
PVZ2tools copied to clipboard
Support arguments
In Python, there is a built-in library called "sys" that you can use that to support drag and drop. I believe you can support drag and drop through a launch file for mac, linux & windows which makes the tool faster on processing functions that improve the productivity.
You can check for drag and drop or passing argument if len(sys.argv) > 2 first, then later do the process. If it's not, loads the default menu as usual.