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