0

I wanted to program something where I can right click on a zip, do open with, and use my python program does something. How can I do that, that it knows what the path of the zip is when I do open with?

martineau
  • 119,623
  • 25
  • 170
  • 301
Niku
  • 91
  • 6
  • 1
    I guess the OP is not asking how to process a zip file (yet), but how to associate a zip file to a python script on File Explorer. – j1-lee Jan 08 '22 at 22:04
  • 3
    If I have understood your question correctly. This [answer](https://stackoverflow.com/questions/7962157/open-with-a-file-on-windows-with-a-python-application) will help you. – Alireza Dav Jan 08 '22 at 22:09

0 Answers0