1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] How to run .py script with windows cmd without having python pop up?

Discussão em 'Python' iniciado por Stack, Novembro 24, 2025.

  1. Stack

    Stack Membro Participativo

    I had this script for automated solving of a little daily game thing. I used to be able to run it by typing cmd into the folder where the script was, and then running the script by entering scriptname.py into the command prompt.

    But I tried to install Python for something else unrelated and now when I try to run my script, a Python window pops up for a split second and then disappears, and nothing happens in the command prompt. I tried to uninstall Python, but trying to run the script just installed Python again.

    How can I fix this so I can just run the script the way it worked before?

    Continue reading...

Compartilhe esta Página