Python 3 Programming


SkillsFuture Credit Approved Course


Python is an easy to learn, yet versatile and popular programming language. It is used by major organizations including Google, Yahoo, and IBM. Python is chosen by many as their first programming language because it is concise and easy to read. Python can be used for everything from web development, to software development and scientific applications.

This course covers the basics of the language syntax and usage, as well as advanced features such as object-oriented programming, advanced loops, and exceptions. After completing this course, you will have an in-depth understanding of the workings of Python and will be able to write console applications to perform complex tasks.

Course Outline

  1. Introduction
    • Welcome
    • Understanding prerequisites for Python
  1. Setting Up Python
    • Installing Python 3 and PyCharm/IntelliJ
  1. General Syntax
    • Creating a main script
    • Understanding whitespace in Python
    • Commenting code
    • Assigning values
    • Selecting code and values with conditionals
    • Creating and using functions
    • Creating and using objects
  1. Variables, Objects, and Values
    • Understanding variables and objects in Python
    • Distinguishing mutable and immutable objects
    • Using numbers
    • Using strings
    • Aggregating values with lists and tuples
    • Creating associative lists with dictionaries
    • Finding the type and identity of a variable
    • Specifying logical values with True and False
  1. Conditionals
    • Selecting code with if and else conditional statements
    • Setting multiple choices with elif
    • Understanding other strategies for multiple choices
    • Using the conditional expression
  1. Loops
    • Creating loops with while
    • Iterating with for
    • Enumerating iterators
    • Controlling loop flow with break, continue, and else
  1. Operators
    • Performing simple arithmetic
    • Operating on bitwise values
    • Comparing values
    • Operating on Boolean values
    • Operating on parts of a container with the slice operator
    • Understanding operator precedence
  1. Exceptions
    • Learning how exceptions work
    • Handling exceptions
    • Raising exceptions
  1. Functions
    • Defining functions
    • Using lists of arguments
    • Using named function arguments
    • Returning values from functions
    • Creating a sequence with a generator function
  1. Classes
    • Understanding classes and objects
    • Using methods
    • Using object data
    • Understanding inheritance
    • Applying polymorphism to classes
    • Using generators
    • Using decorators
  1. File I/O
    • Opening files
    • Reading and writing text files
    • Reading and writing binary files
  1. Databases
    • Creating a database with SQLite 3
    • Creating, retrieving, updating, and deleting records
    • Creating a database object
  1. Modules
    • Using standard library modules
    • Finding third-party modules
    • Creating a module
  1. Debugging
    • Dealing with syntax errors
    • Dealing with runtime errors
    • Dealing with logical errors
    • Using unit tests
  1. Building a Database
    • Application Normalizing a database interface
    • Deconstructing a database application
    • Displaying random entries from a database

Students interested in applying Python for Data Analysis might want to take a look at our Python for Data Analysis course instead.