About 414,000 results
Open links in new tab
  1. how to open and edit py file in command prompt windows 10

    Feb 6, 2022 · The open command in MacOS or even xdg-open on Linux is for opening a file with its programs (associated by the operating-system depending on the file-type). Windows …

  2. Quick and easy file dialog in Python? - Stack Overflow

    Feb 17, 2012 · Using tkinter (python 2) or Tkinter (python 3) it's indeed possible to display file open dialog (See other answers here). Please notice however that user interface of that dialog …

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

    Nov 5, 2013 · I have written a simple python program using IDLE to run it from command line. I don't have permission to save .py file in python directory (C:\program files\python33) so I …

  4. python - Unable to Run .py script in command prompt - Stack …

    Mar 9, 2017 · This pops up a list of all programs - select python, and check the box "Always use the selected program to open this kind of file" and then click OK. Checking this box resets file …

  5. starting Python IDLE from command line to edit scripts

    Jun 9, 2017 · Make sure that assoc .pyw is set to Python.NoConFile and that the command for ftype Python.NoConFile has the args "%1" %*. Prior to 3.3 the default command runs …

  6. how to run python files in windows command prompt?

    I want to run a python file in my command prompt but it does nothing. These are the screen shots of my program i am testing with and the output the command prompt gives me.

  7. How to open a command prompt along with a command to run …

    I tried the below approach to open a command prompt and run a sample command. But it immediately closes: import os # as of now i am just passing cd /../, later will be changing to a …

  8. Can't run a Python file in Windows command prompt

    Jul 7, 2016 · To run a python script, you have to be in the command line and give the script as parameter to python, aka python <script_name>. Getting the command line on windows can …

  9. Can't open python programs from command prompt - Stack …

    When attempting to run .py files from the command prompt I get this, C:\users\ocean>python helloworld.py python: can't open file 'helloworld.py': [Errno 2] No such file or directory The …

  10. How to keep a Python script output window open? - Stack Overflow

    Jun 16, 2009 · Run the program from an already-open terminal. Open a command prompt and type: python myscript.py For that to work you need the python executable in your path. Just …

Refresh