I am making a program and I want to open a particular file(e.g ".jpg") with available application as Windows shows Open With option on right click.
I tried os.startfile(),but it opens only with default application.Also I found some examples from stackoverflow with same titled but none of them works for Windows in Python.Here are those examples links.
Anyone knows how to do this?

