Run a python file in cmd or Powershell.
- Windows
- Python 3 in
PATH
- Open a
.py
file. - Hit
F5
to run.
- It will save the file in current editor immediately without a confirmation, be aware.
- cmd or Powershell
- Two options for you, cmd and powershell. Choose one you like!
- CodeBlocks debug console style
- Show return value and execution time
- It is a rough time based on real time rather than CPU kernel time or CPU user time
- Show return value and execution time
Thanks to atom-python-run, I learned a lot from it.