run-python-simply

Run a python file in a terminal

techstay

62,574

6

0.6.0

MIT

GitHub

run-python-simply package

GitHub issues GitHub stars GitHub forks GitHub license

Run a python file in cmd or Powershell or other Linux terminals.

screenshot

Prerequisite

Usage

  1. Open a .py file.
  2. Press F5 to run.

It will save the file in current editor immediately without a confirmation, be aware.

Features

Config

The commands use {file} as a placeholder for the file to run. I redesign the commands format to support linux systems in the future. Now Windows cmd and powershell are available.

terminal config
cmd start cmd /c python {file}
powershell start powershell -Command python {file}
gnome-terminal gnome-terminal -x python3 {file}

Thanks

Thanks to atom-python-run, I learned a lot from it.