Python Programming

The Python Programming training course is for those who want to develop applications using Python. Python is a versatile and powerful programming language used in various fields, for examples, data science, finance, GUI and game development, and is supported by thousands of third party libraries. The added value of Python running on Windows, Macintosh and Linux attributes it as an ideal tool for cross platform development. The popularity of Python also explains why it is usually ranked high in the chart of the most wanted programming language.

This training course will focus on the core and essential features of Python. Delegates will be able to get the most out of Python through a series of practical and easy to follow exercises.

You'll Learn

Intalling Python

  • Python on OS X
  • Python on Windows

Working with variables and data

  • Naming and using variables
  • Numbers, strings and boolean
  • Stripping whitespaces
  • Concatenating strings
  • Stripping whitespaces
  • Tabs and newlines
  • Integers and floats
  • Writing comments
  • Strings manipulation

Working with Lists and Tuples

  • Accessing Elements in a List
  • Working with Elements (appending, adding, sorting, deleting )
  • For Loop
  • Looping through an entire list
  • Slicing and looping through a slice
  • Copying a list
  • Organizing a list
  • List comprehension
  • Vertical summation
  • Defining a tuple
  • Tuples and Lists conversion
  • Looping through a Tuple

If and Conditional Statements

  • Various conditional tests ( equality and inequality checking )
  • Conditional testing on a list
  • Boolean Expressions
  • if-else , if-elif-else
  • Using if statement with multiple lists
  • Nesting Blocks
  • While Loop using a list
  • While Loop using a flag
  • Flow control with break statement
  • Flow control with continue statement

Dictionaries

  • Accessing values in a Dictionary
  • Adding new key-value pairs
  • Looping through all key-value pairs
  • Looping through all values in a dictionary

Getting user Input

  • Using input() function
  • Handling numberical input

Functions

  • Defining a function
  • Arguments and parameters
  • Working with positional arguments
  • Working with keyword arguments
  • Setting arguments' default values
  • Returning result from a function

Working with Modules

  • Storing functions in a module file
  • Importing an entire module
  • Importing individual functions

Using Python's standard modules

  • Math module
  • Datetime module
  • Random module
  • OS module

Working with files

  • Reading data from a txt or csv files
  • Merging and working data from a file
  • Writing to a file

Errors handling

  • Handling error using Exception
  • The try-except blocks
  • The else block
  • Displaying errors messages

SCHEDULES
 
PYT3122 - Eng 02 Dec enrol
 
PYT3124 - 廣東話 18 Dec enrol
 
PYT4011 - Eng 09 Jan enrol
 
PYT4013 - 廣東話 10 Jan enrol
 
PYT4014 - 廣東話 11 Jan enrol
RELATING COURSES
  Access
  Access SQL
  Beginning Data Science with Python
  Excel VBA
  Python for Data Analysis
  R Programming
  SQL for Data Analysis
  Stock Trading Analysis with Python