Python 3 for Beginners

Python 3 Programming

Introduction

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, enabling you to start programming small and lightweight console applications immediately.

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. Functions
    • Defining functions
    • Using lists of arguments
    • Using named function arguments
    • Returning values from functions
    • Creating a sequence with a generator function
  1. Modules
    • Using standard library modules
    • Finding third-party modules
    • Creating a module

Students looking for a more in-depth course on Python might want to take a look at our Python 3 Programming course instead.

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