Pytech Resources

Python Teen Coders Part 2

Course Summary

The Python Teen Coders program has been meticulously designed to guide teenagers (age 13 and up) through the fundamentals of Python. This instructor-led online course is organized into two separate parts, each part is held over 4 days, 1 1/2 hours per day. This is Part 2 of the program. A pre-requisite is that you should have completed Part 1.

Course Content

Day 1 - Guess the Number Game

Today we will learn how to create a text-based guess the number game. This short game is a good program for learning as it covers many topics.

  • What the game does and writing it
  • Analysing the program and understanding how it works
  • True or False - the Boolean Data Type
  • Comparison Operators
  • Flow Control Statements - while, if, else, break
  • Running the game at the command line

Day 2 - Handling Files

Python scripts very often need to interact with the file system.

  • Opening a file for reading, writing and appending
  • Using the pathlib module to handle files and paths
  • The current working directory and home directory
  • Creating Path objects
  • Anatomy of a pathlib.Path - PosixPath and WindowsPath
  • Checking if a file or directory exist
  • Creating directories and files
  • Listing directory contents
  • Reading and writing files
  • Moving and renaming files
  • Deleting files and directories
  • Joining paths
  • Example of file handling

Day 3 - Jupyter Notebook, Data Structures

The Jupyter Notebook is a very popular and useful tool to help you in your Python program development. We will use this tool to learn about the core Python data structures.

  • Introduction to Jupyter Notebook
  • Uses of Jupyter Notebook
  • Installing and running Jupyter
  • Strings
  • Lists
  • Tuples
  • Dictionaries

Day 4 - Building the Snake Game

Unleash your creativity by learning how to build the Snake game with the Pygame package and at the same time practising and improving your newly learnt Python skills.

  • What we will build and prerequisites
  • Installing pygame
  • Creating the screen
  • Creating the snake and moving it
  • Game Over
  • Adding the food and increasing the snake length
  • Displaying the score

Who should attend?

Teenagers aged 13 and up. No experience with computer programming is assumed. But students should already be familiar with general usage of a computer such as using a browser, editing and saving files, etc.

Prerequisites

You should have completed Python Teen Coders Part 1.

Course Fee

The course fee is RM360.00. Contact Us

Course will run subject to a minimum of 4 persons. Each class is limited to a size of 15 persons in order to optimize the learning process. A full refund will be given in case of cancellation of the class due to insufficient quota. Alternatively this amount can be used for payment of the next available class.

Class Schedule

Please Contact Us

Course Schedule

All times shown are MYT (Malaysia Time), UTC +8
Lesson Date Time
1 Nov. 16, 2024 10:30 a.m.-noon
2 Nov. 17, 2024 10:30 a.m.-noon
3 Nov. 23, 2024 10:30 a.m.-noon
4 Nov. 24, 2024 10:30 a.m.-noon

All times shown are MYT (Malaysia Time), UTC +8
Lesson Date Time
1 Feb. 8, 2025 10:30 a.m.-noon
2 Feb. 9, 2025 10:30 a.m.-noon
3 Feb. 15, 2025 10:30 a.m.-noon
4 Feb. 16, 2025 10:30 a.m.-noon

For your convenience the above schedules have been added to the Google Calendar below. You can add your preferred schedule to your Google calendar from there.

Trainer

my_profile2

Boey Pak Cheong lives in Petaling Jaya, Malaysia and has been an avid Python trainer and software developer since the mid-1990s.

He graduated from the University of Malaya in Kuala Lumpur as a Chemical Engineer in the early 1970s but became keenly interested and actively involved in computer programming from the late 1980s onwards. He pioneered the usage of Python in Malaysia since 1995 and has more than 25 years experience in software development using various programming languages (including Python, C, PHP, Javascript, HTML, CSS2, LaTeX ) with more than 20 years experience in using the Python language in a production environment.

Alongside this blog, he has conducted Python training for students and working professionals since 2006 and have had the privilege of guiding countless students on their journey to Python proficiency. His clientele includes many leading multinational companies in Malaysia such as Intel, F-Secure, CSGI, Experian and MIMOS amongst many others.

Currently he operates Pytech Resources which specializes in Python training. He has previously worked in technical and management positions with British Petroleum, ITT and Alcatel and also attended a senior management training program at the London Business School, UK.

He created the software for a leading e-commerce website using Python that dynamically generates comprehensive pdf reports and continues active development of new products for this website.

 Testimonials

For 2 years, I've started self-study with Python, with no development background. It was really a hard time, but thanks to P.C. Boey and his course, my thinking in Python was straightened out.

-- Mokhriz Mohammed, Materialise Sdn.Bhd.

A great introduction to python for people who have little background but intend to further their journey in programming. Mr Boey definitely made the course interesting and easy to follow, thank you!

-- Jamie Chin 17 yrs

I have no regrets taking this course as it provided me with solid fundamental knowledge required to further my learning in programming. Mr Boey is patient and knowledgeable during his classes and puts in tremendous effort to see that we understand the syllabus. I would recommend taking his class!

-- Ho Teck Li, Undergraduate in M.Engineering

Excellent course, Great explanations and relevant exercises, the small class size meant lots of time and attention to us all. You can tell Mr Boey enjoys teaching python, has a way of explaining complex things simply, very glad I made the trip, and I look forward to attending the practical python course.

-- Jon Bandy (Perth, Western Australia)

The three day course is an insightful one. I would recommend having seen some python scripts before coming into any computer programming course. I would also highly advise anyone who come here to have a purpose of learning Python. To me, it's to be able to understand, modify and write scripts for robotics and blockchain applications. Before attending this course, I had seen some syntaxes in scripts of other languages but could not decipher what each character meant. Often, I would skip reading those syntaxes which was why I could never get around understanding how scripts which others wrote worked. Now with Boey's Python for Beginners, I now understand what do these syntaxes such as brackets [ ] mean, why it's important to refer to scripts imported and how to understand others' scripts better. Learning a programming language requires us to get the basics right first. After that, there are tons of resources in the internet to further learn about what you would like your computer to do. I would recommend Boey's Python Class for Beginners to anybody who wants to revise their programming skills and also those who would like an insight of the programming field.

-- Peter Loo, Founder of a CryptoCurrency, Director of Mega Genset Malaysia Sdn Bhd, Cantab Alumni, Mechanical Engineer (1st Class Honours)