First you need to install the UBLIMEREPL plugin
1. Open your Sublin and use the shortcut key crtl+shift+p
2. Type the package Control:Install the package
3, then appeared loading repositories, then then enter SUBLIMEREPL, and you'll be ready for a while.
4, open Preferences > Browse Plugin directory if the ' Sublimerepl ' directory is present, the
is installed
5, Open Preferences > Shortcut Settings display the following panel
650) this.width=650; "Src=" Https://s4.51cto.com/wyfs02/M00/05/81/wKiom1mmUg7B1PbsAAO_4WcJatI925.png-wh_ 500x0-wm_3-wmp_4-s_1843781471.png "title=" Qq20170830134912.png "style=" float:left; "alt=" wKiom1mmUg7B1PbsAAO_ 4wcjati925.png-wh_50 "/>
Then, on the right, type
[{"Keys": ["F5"], "command": "Run_existing_window_command", "args": {"id": "repl_python_run", "File": " Config/python/main.sublime-menu "}}]
save to
> and then you can try it. F5 is already able to execute
Sublime shortcut key F5 execute Python program