1. Install Python 3.9.2. Make sure you tick Add Python 3.9 to PATH.
2. Install Sublime.
3. Run cmd. Type python > enter.
4. Open Sublime. Go to Tools > Command Pallete
a. Install Package Control > enter
b. Package Control : Install Package >enter
c. SublimeREPL >enter
5. Tools > Build system > New Builds System , then copy paste the following commans and save
as Python_Run
{
"target":"run_existing_window_command",
"id":"repl_python_run",
"file":"config/Python/[Link]-menu"
}
Make sure save in folder Packages.
6. To save python coding, make sure the extension to save is .py. You can now try to type and
run simple programming.
Eg :
print("Hello, World!")
SIMPLE EXERCISE TO GET FAMILIAR WITH PYTHON
1. if 5 > 2:
print("Five is greater than two!")
if 5 > 2:
print("Five is greater than two!")
2. a = 4
A = "Sally"
print(a)
print(A)
3. username = input("Enter username:")
print("Username is: " + username)