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] Cannot run python file from file explorer [duplicate]

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

  1. Stack

    Stack Membro Participativo

    I currently have a python file in a directory C:\Users\...\startup.py, and I am using Windows. When I run this file from the command prompt (python3.10 "C:\Users\...\startup") it works as expected. However, when I go to the file explorer and try to run by clicking on the file, the program does not run. What could be the cause of this?

    (The file is quite long, hence why I have not provided a code block)

    Continue reading...

Compartilhe esta Página