[Python] How to change default app for .py to VSCode or to run when clicked?

Discussão em 'Python' iniciado por Stack, Abril 13, 2025.

  1. Stack

    Stack Membro Participativo

    I installed PyCharm, but later I found out that VSCode is better. Even later I found out you can run the code inside a file without compiling it and without opening an editor. My questions are:

    1. How can I change the default app for .py to VSCode?
    2. How can I set it to run when clicked on it without any app?

    P.S. - I was having a little fun with regedit before and found that Python has its own set of reg keys. Can it help? (I'm on Windows.)

    Continue reading...

Compartilhe esta Página