Python 3 for Beginners



Python is an easy to learn, yet versatile and popular programming language. It is used by major organizations including Google, Yahoo, and IBM. It’s used by many as a first 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 objects, generators, and exceptions.

Course Outline

  1. Introduction
    • Welcome
    • Understanding prerequisites for Python
  1. Setting Up Python
    • Installing Python 3 and Eclipse
  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.