About 122,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. 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 …

  3. How to run a .py file in windows command line? - Stack Overflow

    Nov 5, 2013 · I don't have permission to save .py file in python directory (C:\program files\python33) so I saved it to C:\Pyscripts. Also python was already been added to the PATH …

  4. Importing .py files in Google Colab - Stack Overflow

    Feb 21, 2018 · Is there any way to upload my code in .py files and import them in colab code cells? The other way I found is to create a local Jupyter notebook then upload it to Colab, is it …

  5. How do I make all .py files launch with Spyder? - Stack Overflow

    Feb 12, 2018 · I wanted to set my preferences to open all .py files with Spyder, so I followed the Spyder start menu button to an executable, pythonw.exe. The problem is that I cannot launch …

  6. How to use Anaconda Python to execute a .py file?

    Oct 12, 2016 · Anaconda should add itself to the PATH variable so you can start any .py file with "python yourpythonfile.py" and it should work from any folder. Alternatively download pycharm …

  7. How to get Spyder to open python scripts (.py files) directly from ...

    Nov 20, 2015 · In other words, if you install Spyder with it, then you'll see a new entry in the Open with menu of the Windows Explorer that allows you to open Python files directly on Spyder. …

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

    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) filename.py into …

  9. python - How to load/edit/run/save text files (.py) into an IPython ...

    Jan 10, 2014 · To write/save %%writefile myfile.py write/save cell contents into myfile.py (use -a to append). Another alias: %%file myfile.py To run %run myfile.py run myfile.py and output …

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

    The basic idea is to reassociate .py files so they run a separate initial script before running the intended script. The initial script launches a new command prompt window with the /k …