About 301,000 results
Open links in new tab
  1. windows - Python - How do you run a .py file? - Stack Overflow

    Feb 29, 2012 · 4 Since you seem to be on windows you can do this so python <filename.py>. Check that python's bin folder is in your PATH, or you can do c:\python23\bin\python …

  2. Creating a BAT file for python script - Stack Overflow

    Jan 1, 2011 · How can I create a simple BAT file that will run my python script located at C:\\somescript.py?

  3. Running a python script via Powershell script - Stack Overflow

    Jan 24, 2019 · I have a python script which I can run via PowerShell using the following code: cd User\\PythonScripts python TestFile.py Now I want to run these simple commands via a …

  4. Running python script in Blender - Stack Overflow

    Jul 22, 2012 · 37 Open a Text Editor view in Blender. Press Alt + O, or go to Text>Open Text Block and open the .py file Then simply press Run script :D P.s. Instead of opening a file in …

  5. How do I open and view Python PY files on Windows 10?

    Nov 8, 2021 · I need help on how to open Python PY files in my Windows 10. PY is a script file written in the Python programming language and I am finding it difficult to open the files on my …

  6. How to stop Python closing immediately when executed in …

    9 Open your cmd (command prompt) and run Python commmands from there. (on Windows go to run or search and type cmd) It should look like this: python yourprogram.py This will execute …

  7. how to open and edit py file in command prompt windows 10

    Feb 6, 2022 · 0 I'm finding for a syntax equivalent to mac os terminal open filename.py in windows command prompt. I've search internet to find answer like type in filename (or location) …

  8. How do I get a python program to run instead of opening in …

    Jul 12, 2016 · I am having some trouble with opening a .py file. I have a program that calls this .py file (i.e. pathname/example.py file.txt), but instead of running the python program, it opens it in …

  9. How to run a Python file in Visual Studio code from the terminal?

    Nov 28, 2022 · Open the folder using VS Code: File -> Open Folder Create your script and save it in the folder Open a new terminal: Terminal -> New Terminal Type the command: python …

  10. python - How to open local file on Jupyter? - Stack Overflow

    It's a pity there is no possibility to right-click any folder in jupyter's "explorer view" and get a menu option to open the folder in the true os file explorer. This leads to convoluted tricks for files and …