About 228,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 can I open my .py file in the python terminal (noob asking)?

    Jul 17, 2019 · 0 You could use the command line rather than the python terminal cd into the directory of the project and then run python ui.py. Copying the file to another directory may …

  4. 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) …

  5. 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 …

  6. 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 …

  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 edit and save text files (.py) in Google Colab?

    Dec 29, 2022 · Colab includes a text editor you can use to create, open, and delete .py files directly. All is done in the Files view (see below). To create or delete a file, right click and …

  9. 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 …

  10. 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 …