pythoncommand-prompt

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


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 command prompt, but that just run a script or even start filename.py doesn't seems to work too. how do i edit get to edit my code via command prompt?


Solution

  • to edit a file you can simply use notepad

    notepad file.txt
    

    you can install vim or nano and use them in windows