Link is in the title.

  • Soviet Snake
    link
    English
    21 year ago

    I think you need to go to the folder with the terminal and do ./executable.py where ‘executable’ is the file to execute.

      • 🏳️‍⚧️ Elara ☭
        link
        English
        3
        edit-2
        1 year ago

        Depending on how they’ve written the file (whether it contains a python shebang at the top and is marked as executable) and what OS you’re using, either one may work. python executable.py without the ./ works pretty much everywhere regardless of the file and the OS.