How to run a program by default app in python

I need to start my app with python by defalut. Like double-clicking on them.

I know there is subprocess.Popen("program", "file") but I need to start app by default and I don’t know with what program I need to start app.

>Solution :

I think you need['name-of-file'])

Leave a Reply