Programming in Python for Absolute Beginners
COMSATSProgramming in Python for Absolute Beginners
Course overview
You do not need a computer-science background. If you can install an app and type, you can complete this course. We treat Python as a workplace tool: add a column of amounts, apply a pass/fail rule, clean a list of names, and save a daily log — on Windows first, with Mac and Linux notes.
What you will be able to do
- Install Python 3 from python.org, add it to PATH, and confirm
py --version(orpython3). - Write and run a
.pyfile from a practice folder (IDLE or VS Code). - Use variables, numbers, and text; convert
input()before doing maths. - Branch with
if/elif/elseand repeat work withfor. - Store many values in a list and wrap a calculation in a function.
- Read and append text files with
with openand handle a missing file withtry/except.
Who should enrol
Students, office staff, and anyone who repeats the same spreadsheet or WhatsApp-copy task. No programming experience is required.
Open media
Crash Course Computer Science (CC BY), Microsoft’s official Python for Beginners shorts, the Python Software Foundation download and tutorial (python.org / docs.python.org), and Python for Everybody (CC BY) as a linked textbook. Infographics are original course SVGs.