How to Run Python3 on Sublime Text 3 (Window 10)

INEEDSOMEWEED
3 min readMar 9, 2021

--

First, we need to download Sublime Text

Sublime Text official website : https://www.sublimetext.com/

Open Sublime Text 3

Sublime Text 3

Install SublimeREPL / SublimeCodeIntel / AutoPep8

Use shortcut keys — Ctrl + Shift + p 👇

We’ll see this.

Type “package install” 👇

Choose the first one.

Type “SublimeREPL / SublimeCodeIntel / AutoPep8”

SublimeREPL lets you run interactive interpreters of several languages within a normal editor tab.

I’ve already downloaded it,so we can’t see the SublimeREPL here.☝

Anyway, just install it!

SublimeCodelnt helps the user to jump to the file and the specified line of the symbol.
AutoPep8 automatically formats Python code to conform to the PEP 8 style guide.

If we succeed…

We’ll find these !

Set the hotkey F5

Preferences > Key Bindings-User

Type code:

{ “keys”: [“f5”], “caption”: “SublimeREPL:Python”, “command”: “run_existing_window_command”, “args”: { “id”: “repl_python_run”, “file”: “config/Python/Main.sublime-menu” } },

Now, we can press F5 to run the code!!!

Hello world

Reference

--

--