0% found this document useful (0 votes)
44 views10 pages

2-SublimeText Installation Guide

The document provides a guide to installing Sublimetext on Windows and MacOS. It outlines downloading the appropriate version, setting the installation directory during the installation process, and how the editor interface appears after installation. It then discusses creating a simple Python file in Sublimetext, saving it with a .py extension to the desktop, and running the file from the command prompt or terminal by calling it with the python keyword. It provides troubleshooting steps to add Python to the system PATH if running the file does not produce results.

Uploaded by

buynzayahbat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views10 pages

2-SublimeText Installation Guide

The document provides a guide to installing Sublimetext on Windows and MacOS. It outlines downloading the appropriate version, setting the installation directory during the installation process, and how the editor interface appears after installation. It then discusses creating a simple Python file in Sublimetext, saving it with a .py extension to the desktop, and running the file from the command prompt or terminal by calling it with the python keyword. It provides troubleshooting steps to add Python to the system PATH if running the file does not produce results.

Uploaded by

buynzayahbat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

APF221 – FUNDAMENTALS OF ALGORITHM AND PROGRAMMING

Sublimetext installation guide


1. Login www.Sublimetext.com/3. Windows:download link
MacOS: download link

2. The process of downloading the appropriate version

3. After downloading the installation program, run the program.

ABOUT PYTHON 1
APF221 – FUNDAMENTALS OF ALGORITHM AND PROGRAMMING

4. Set the installation directory.

5. Program installation process

ABOUT PYTHON 2
APF221 – FUNDAMENTALS OF ALGORITHM AND PROGRAMMING

6. The program installation is complete

7. Sublimetext Editor appearance after installation.

ABOUT PYTHON 3
APF221 – FUNDAMENTALS OF ALGORITHM AND PROGRAMMING

8. First time python programming

9. File -> Save as

10. Set the save location to Desktop and save the file name with the extension
example.PY.

ABOUT PYTHON 4
APF221 – FUNDAMENTALS OF ALGORITHM AND PROGRAMMING

11.After saving, keywords and text information will be displayed in color.

12. Run the Command Prompt and call the example.py file created on the
Desktop:
a. Using searching box: Command Prompt
MacOS: run Terminal.

ABOUT PYTHON 5
APF221 – FUNDAMENTALS OF ALGORITHM AND PROGRAMMING

b. Run Command Prompt by pressing Windows+R and typing cmd.

c. Command Prompt view

d. in Command Prompt, change the directory to the Desktop where the


file is located, then Run the Example.py file.

ABOUT PYTHON 6
APF221 – FUNDAMENTALS OF ALGORITHM AND PROGRAMMING

e. Run the Example.py file in the Desktop folder with the python
keyword.

f. Results of the program

ABOUT PYTHON 7
APF221 – FUNDAMENTALS OF ALGORITHM AND PROGRAMMING

13.If "python example.py" does not produce any results, follow the steps below.
a. “C:\Users\%Username%\AppData\Local\Programs\Python\Python38-32”
Checking the location of this folder. If correctly located, it will appear
as follows.

b. In the search section, enter 'edit the system environment variables' to find
and enter the link.

ABOUT PYTHON 8
APF221 – FUNDAMENTALS OF ALGORITHM AND PROGRAMMING

c. Select the 'Environment Variables' command.

d. In the 'Environment Variables' window, select 'Path' under 'System


variables' and edit it.

ABOUT PYTHON 9
APF221 – FUNDAMENTALS OF ALGORITHM AND PROGRAMMING

e. Select the 'New' command


input the path
“C:\Users\%Username%\AppData\Local\Programs\Python\Python38-32”.

f. After completing the setup, reopen 'Command Prompt' and type


'python' to check.

If information about the Python program appears as above, it means the


configuration has been done correctly.

ABOUT PYTHON 10

You might also like