HKPC Academy - Diploma in Internet of Things (IoT): Module 2: Python for IoT – Beginner to Advanced
Home > Programme > Diploma in Internet of Things (IoT): Module 2: Python for IoT – Beginner to Advanced
Diploma in Internet of Things (IoT): Module 2: Python for IoT – Beginner to Advanced

Programme Code 10008208-02 Subsidised by RTTP Confirmed
Start Date23-07-2019
Fannie Kwok, Tel: 27886271

Programme Info

DownloadDownload Full Course Description

What is Internet of Things (IoT) and why it matters?

The Internet of Things or IoT refers to the billions of physical devices around the world that are connected to the internet. As the world becomes increasingly digital, everything from coffee machines to cars are quickly becoming part of this network. Gartner forecasted that the number of connected things in use will go up to 25 billion by 2021, from 14.2 billion in 2019.
"The IoT will continue to deliver new opportunities for digital business innovation for the next decade, many of which will be enabled by new or improved technologies," said Nick Jones, Research Vice President at Gartner.

The Diploma in Internet of Things (IoT)

As technology develops and changes it's important to keep your skills up to date. This diploma is designed to cover IoT from technology and application point of view, through IoT hands-on workshop, to IoT platforms and machine learning of IoT data.

The Diploma in Internet of Things (IoT)
Course Title Duration
(Per Workshop)
Course Fee
(Per Workshop)
Module 1 Internet of Things (IoT) – Technologies and Applications 12 hours HK$4,800
Module 2 Python for IoT – Beginner to Advanced
Module 3 IoT Sensor Do-It-Yourself (DIY) Experience Workshop
Module 4 IoT Platforms
Module 5 Machine learning for IoT Data
  • These programmes combine technical and non-technical content. Participants can make enrolments to the individual course based on their needs/ interests.
  • To attain the Diploma Certificate, participants are required to fulfil 75% attendance for all modules, i.e. module 1-5, pass the assessment and possess one of the following qualifications:
  1. be a Certificate Holder in related areas; or
  2. achieve 5 grade Es in HKCEE or equivalent; or
  3. achieve 5 Level 2s in HKCEE or equivalent; or
  4. achieve 5 Level 2s in HKDSE or equivalent; or
  5. mature student*
* 18 years old or above and with 2 years or above working experience


This module aims to elaborate one of the most popular programming languages, Python, ready for IoT programming – on sensor, on IoT platform and on machine learning.  


  • Understand how to setup the Python environment
  • Understand the basics in Python programming
  • Understand the development environment
  • Understand how to make use of Python to build networked programs
  • Understand how to make client-server applications using sockets
  • Understand how to make multi-threaded programs using Python
  • Understand how to interact with the database
  • Understand how to perform data manipulation through Numpy

Target Audience

  • IT Managers
  • System Analysts
  • Software Architects
  • Software Developers
  • IoT Hardware Developers
  • Business Analysts
  • Data Analysts
  • Data Scientists


It is highly recommended that participants process basic programming knowledge (in any languages).


Course Outline

Day 1 Day 2
  • Introduction to Python for IoT
  • Library Support in Python
Installation and Startup
  • How to install and Startup IoT using Python
  • Simple Example of Python
  • Build in Function in Python
Variables and Data Type
  • Variables and Data Type in Python
  • Operator in Python
  • Example of Arithmetic Operators
  • More on Operators
Default Parameters in Functions
  • Default Parameters in Functions
Returning Multiple Values from Functions
  • Reverse of Number example
  • More on reverse of number example
Formatted Output
  • How to create a formatting string in Python
  • Example of formatting string
Format Method
  • Format methods
  • Format methods example
Comparison Operators and Statements
  • Comparison Operators
  • Conditional Statements
  • Logical Operators
  • Bitwise and Assignment Operators
  • Introduction to Packages and Modules
  • Concept of Anaconda Distribution
  • Installation of PyCharm
Nuts and Bolts
  • Executing Programs in PyCharm
  • Methods of the List
  • Learning the Bolt Structure
Networking and Networking Concepts
  • Networking Aspect of Client Server
  • Message Communication of Client and Server
  • Server IP from Client to Server
Socket Programming
  • Programming Aspect of Networking
  • Writing the Client and Server Code
  • Socket Programming for Server
  • Python Package for Multi-threading
Chat Bot App
  • Working with Chat Bot
  • Sending and Receiving Data
  • Working on Chat Bot Server
  • Creating and Importing Client Socket
  • Creating Message for Client
  • Learning to Create a Chat App
Database and Chat App
  • PyCharm databases and SQLite
  • Commands for Creating a Table
  • Inserting Values in Table
  • Connecting Between Database and Python Code
  • Query from Database
Client Element and Datasets
  • Indexing the Client Element
  • Connection from Client at Address
  • Adding Email and Client Name
  • Analysing the Data Sets
  • Coding for Converting Temperatures
  • Converting Temperature using List comprehension
  • Introduction to Numpy
  • Size of List
  • Memory Consumed by Ndarray
  • Python List and Numpy Arrays
Numpy Arrays
  • Creating Numpy Arrays
  • Differential Dimensional Array in Numpy
  • Shape of an Array
  • Slicing
  • Arrays of Ones and Zeros
  • Numpy Example
  • Using Scalers and Numpy Arrays
  • Matrix Multiplication
Comparison Operations

Course Fee


Medium of Instruction

Cantonese, and supplemented with English for technical terms

Award of Certificate

Participants who have attained at least 75% attendance will be awarded a certificate of attendance issued by the Hong Kong Productivity Council.
Summer Offer

Contact Us:

Facebook Twitter Weibo