Steps to install Python 3 into Sublime Text: Install Python 3 and verify that the installation is successful. Install Package Control (if Sublime Text 2). Install the SublimeREPL plugin in Sublime Text. Configure SublimeREPL to select Python 3 as the interpreter. Create a new .py file, write Python 3 code, and press shortcut keys to run the code.
How to install Python 3 to Sublime Text
Installation steps:
Verify installation: Open a command prompt or terminal and enter the following command:
<code>python3 --version</code>
If you see output similar to "Python 3.X.X", Then Python 3 has been successfully installed.
Ctrl
Shift
P
(Windows) or Cmd
Shift
P
(Mac) Open the Command Palette. Using Python 3:
.py
file. Ctrl
B
(Windows) or Cmd
B
(Mac) to run code. Tip:
The above is the detailed content of How to install Python3 in sublime. For more information, please follow other related articles on the PHP Chinese website!