Python is the language most often recommended to beginners, and the recommendation is right. The syntax is close to English, it runs on any machine, and it is used for everything from automating a spreadsheet to training a machine learning model. One language, many destinations.
It is also the language people most often abandon around week three. The reason is almost never difficulty — it is that they never decided what they wanted to build, so every lesson felt like homework with no purpose.
Decide what you want it for, first
Python looks quite different depending on the destination. Choosing one now stops you drifting.
- Automating boring work. Renaming a thousand files, merging spreadsheets, generating reports, scraping data. The fastest payoff, and often the most immediately useful in a Kenyan office job.
- Data analysis. Cleaning and interrogating data, producing charts and findings. The most direct route to an employed role.
- Web back ends. The server side of applications, with Django or Flask.
- Machine learning. The long road, and the one that needs the most groundwork.
If you are unsure, choose automation. You will produce something useful within a fortnight, and that early usefulness is what keeps people going.
The core course
Python Programming runs to 29 lessons and covers the language from the beginning — variables, control flow, functions, data structures, files and error handling. Work through it in order.
How to study it so it sticks
- Type every example. Copying and pasting teaches nothing; typing forces you to read each line.
- Break the examples deliberately. Change a value, remove a line, see what error appears. Reading error messages is the actual skill.
- Rebuild each lesson from memory the next day. Ten minutes, and worth more than an hour of new material.
- Keep a mistakes file. Every error and its fix. You will stop repeating them.
What to build, stage by stage
After the basics — week two or three
- A budget tracker that reads your M-Pesa statement and totals spending by category.
- A script that renames and sorts a folder of photographs by date.
- A unit converter for the measurements you actually use.
After functions and files — week five or six
- Merge a folder of CSV files into one spreadsheet with totals.
- A script that pulls the day's headlines from a Kenyan news site and writes them to a file.
- A marks-and-grades calculator for a school, reading from and writing to a spreadsheet.
Once you are comfortable — month three onwards
- Analyse published county data and produce charts that say something.
- A stock and sales tracker for a small shop, with a simple report.
- A tool that checks a list of websites and reports which are down.
Notice how many of these are directly sellable to a small Kenyan business. Automation work is the easiest freelance income a new programmer can find, because the client can see the hours it saves them.
Where Python leads
Data analysis
The most reliable employed route. Pair Python with spreadsheet fluency — Excel is where most Kenyan organisations genuinely do their analysis — and with relational database thinking from Microsoft Access.
Machine learning and AI
Python is the language of this field. Once you are fluent, Machine Learning covers supervised and unsupervised learning across 41 lessons, and Understanding AI gives you the conceptual grounding first.
Web development
Python handles the back end, but a back-end developer who cannot read the front end is limited. The HTML and CSS Crash Course is a short investment that pays off constantly. If PHP turns out to suit you better for web work, PHP 8 — From Beginner To Advanced is there.
What you need to run it
- Any laptop. Python is undemanding; an old machine is fine.
- Free tools throughout. Python itself, VS Code, and Google Colab if your machine struggles — Colab runs in a browser and needs nothing installed.
- Data, mostly for downloads. Once installed, you can code entirely offline. Download lessons when you have Wi-Fi and study without connectivity.
The three things that stop people
- Tutorial hopping. Three courses at 20% complete teach nothing. Finish one.
- Fear of errors. Errors are the normal state of programming. Professional developers see them all day.
- No project. Without something you want to exist, motivation runs out around week three, every time.
A four-month plan
- Month 1: First half of the Python course. Two small automation scripts.
- Month 2: Finish the course. One tool you genuinely use.
- Month 3: A real project for someone else — free is fine.
- Month 4: Specialise, and publish everything to GitHub.
Start Python Programming today. It is free, like everything in the catalogue, and finishing it earns a certificate an employer can verify by serial number.




