📖 What You’ll Learn
Here at Code Kampong, we believe in learning through building.

In this hands-on workshop, you’ll learn core programming concepts by reverse engineering a simple web application (NEA Weather Page) and then building one from scratch.
We’ll start by exploring how a real-world weather application works and why each component is essential — introducing key programming concepts like handling data, making API requests, and building interactive features. Then, you’ll apply these skills step by step to create your own fully functional web app.
Through guided exploration, you’ll gain a practical understanding of when and how to apply these principles in your own projects. By the end of the session, you’ll have a shareable project to showcase in your portfolio or present to potential employers.
No prior coding experience required—just curiosity and a willingness to build!
📝 Curriculum Overview
This workshop follows a structured approach, where each hands-on exercise contributes directly to building the NEA Weather App. By the end of the session, you’ll have a working application that fetches and displays real-time weather data and radar images.
1. Why Learn Python in the AI Era?
🎯 Objectives
- Understand why coding is still relevant even with AI tools like ChatGPT.
- Learn how Python is used in automation, AI, and backend development.
🗣️ Discussion
- Can AI replace developers? Why not?
- How programming knowledge helps you use AI-generated code effectively.
- How Python is essential for backend development, automation, and AI applications.
2. How a Real-World Weather App works
🎯 Objectives
- Understand how weather applications fetch, process, and display data.
- Learn about key components involved in building a simple weather app (APIs, backend and frontend).
3. Introduction to Python and Setup
🎯 Objectives
- Set up Python on your laptop and understand the basics of writing and running scripts.
- Learn how to work with variables, data types, and basic print statements.
👩💻 Hands-On Exercise
- Install Python and set up your development environment.
- Write and execute a Python script: “Hello, World!”.
- Print the current date and time using the
datetime
module.
4. Python Basics: Variables & Data Structures
🎯 Objectives
- Learn how Python stores and processes data.
- Understand lists and dictionaries for handling structured data.
👩💻 Hands-On Exercise
- Create a dictionary with mock weather data.
- Extract specific values and print them dynamically.
5. PIP / Packages & Simple Web App with Gradio
🎯 Objectives
- Learn how to install and use external Python libraries.
- Understand how Gradio can be used to quickly prototype web applications.
👩💻 Hands-On Exercise
- Install
gradio
andrequests
. - Build a simple Gradio app that takes user input and displays a response.
6. Calling APIs & Data Handling
🎯 Objectives
- Learn how APIs work and how to retrieve external data.
- Understand how to process and store JSON data.
👩💻 Hands-On Exercise
- Fetch live weather data from NEA’s API.
- Extract specific weather details like temperature and rainfall.
- Save and reload data from a JSON file.
7. Loops & Control Flow
🎯 Objectives
- Automate data fetching with loops.
- Use
if-else
to filter relevant weather data.
👩💻 Hands-On Exercise
- Use a loop to check for the latest available radar image.
- Generate timestamps for querying radar images at 10-minute intervals.
- Implement conditional logic to display relevant weather updates.
8. Functions & Error Handling
🎯 Objectives
- Learn how to write reusable functions.
- Handle API request failures with
try-except
.
👩💻 Hands-On Exercise
- Create a function to fetch and process weather data.
- Implement a function to check and retrieve radar images.
- Introduce error handling to prevent crashes.
9. Final Integration: Deploying the Weather App
🎯 Objectives
- Combine all learned concepts into a fully functional web app.
- Deploy it with Gradio for public access.
👩💻 Hands-On Exercise
- Integrate API calls, data parsing, and image fetching into one script.
- Display live weather data and radar images in a Gradio app.
- Implement a feature that updates weather data dynamically.
10. Understanding What We Have Learned & Real-World Applications
🎯 Objectives
- Connect workshop lessons to real-world software development.
- Recommend next steps and resources.
- Reinforce why learning Python is valuable despite AI-generated code.
👨🎓 Who Should Attend?
This workshop is perfect for:
- Absolute beginners who have never coded before.
- Professionals looking to automate tasks or analyze data.
- Career changers exploring tech careers.
No prior experience required — just bring your laptop and an open mind!
🏫 Workshop Logistics
- Date: 10 May 2025 (Saturday), 9am - 5pm
- Format: In-person
- Venue: TBD
- Payment Mode: PayNow QR, upon registration
- Price: $220
- What to Bring: A laptop with Python installed (setup instructions will be provided beforehand).
🚀 Sign Up Now
Take the first step toward learning Python and building practical coding skills. Seats are limited to ensure a personalised learning experience, so don’t wait!
Click Here to Register. Fill in your details via WhatsApp and make a PayNow payment to secure your spot.
