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

Working with variables and data

  • Naming and using variables
  • Changing case methods
  • Concatenating strings
  • Stripping whitespaces
  • Tabs and newlines
  • Integers and floats
  • Writing comments

Working with Lists

  • Accessing Elements in a List
  • Working with Elements ( appending, adding, sorting, deleting )
  • For Loop
  • Looping through an entire list
  • Using Rang() function
  • slicing and looping through a slice
  • Copying a list
  • Organizing a list
  • Defining a tuple
  • 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
  • While Loop using a flag
  • While Loop with break statement
  • While Loop 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

User Input

  • Using input() function
  • Handling numberical input with int()
  • Input function in Python 2.7

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 files

  • Reading from a file
  • Working with a file's contents
  • Writing to a file

Exceptions

  • Handling Error Exception
  • The try-except blocks
  • The else block

SCHEDULES
 
PYT7094 - 廣東話 25 Sep enrol
 
PYT7095 - 廣東話 28 Sep enrol
 
PYT7101 - 廣東話 14 Oct enrol
 
PYT7111 - 廣東話 07 Nov enrol
 
PYT7112 - 廣東話 16 Nov enrol
RELATING COURSES
  Access
  Access SQL
  Beginning Data Science with Python
  Excel VBA
  SQL for Data Analysis