0% found this document useful (0 votes)
48 views

Install Python Step by Step

1. Install Python 3.9.2 and Sublime text editor. Configure Sublime to run Python code by installing Package Control and SublimeREPL packages and creating a new build system. 2. Save Python files with a .py extension. Simple test code is provided to print statements and take user input to get familiar with Python syntax.

Uploaded by

PREEVITHA
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views

Install Python Step by Step

1. Install Python 3.9.2 and Sublime text editor. Configure Sublime to run Python code by installing Package Control and SublimeREPL packages and creating a new build system. 2. Save Python files with a .py extension. Simple test code is provided to print statements and take user input to get familiar with Python syntax.

Uploaded by

PREEVITHA
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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/Main.sublime-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)

You might also like