I have a python script bundled into a application (I'm on a mac) and have the application set to be able to open .zip files. But when I say "open foo.zip with bar.py" how do I access the file that I have passed to it?
Additional info: Using tkinter.
What's a good way to debug this, as there is no terminal to pass info to?