Introduction to Python Training


Request an offer for classroom delivery of this course

Online Registration and Course delivery

Course duration

Course Outline

In this Python training course, students learn to program in Python. The course is aimed at students new to the language who may or may not have experience with other programming languages.

This Python course is taught using Python 3; however, differences between Python 2 and Python 3 are noted. For private Python classes, our instructor can focus specifically on Python 2 if desired.

  1. Python Basics
    1. Running Python
      1. Python Interpreter in Interactive Mode
      2. IDLE
      3. Commercial and Free Python IDEs
    2. Hello, World!
    3. Literals
    4. Python Comments
    5. Data Types
    6. Variables
      1. Variable Names
      2. Variable Assignment
      3. Simultaneous Assignment
      4. Constants
      5. Deleting Variables
    7. Writing a Python Module
      1. The main() Function
    8. print() Function
    9. Named Arguments
    10. Collecting User Input
    11. Getting Help
  2. Functions and Modules
    1. Defining Functions
    2. Variable Scope
    3. Global Variables
    4. Function Parameters
      1. Using Parameter Names in Function Calls
      2. Default Values
    5. Returning Values
    6. Importing Modules
      1. Module Search Path
      2. pyc Files
  3. Math
    1. Arithmetic Operators
    2. Modulus and Floor Division
    3. Assignment Operators
      1. Order of Operations
    4. Built-in Math Functions
    5. The math Module
    6. The random Module
    7. Seeding
  4. Python Strings
    1. Quotation Marks and Special Characters
      1. Escaping Characters
      2. Triple Quotes
    2. String Indexing
    3. Slicing Strings
    4. Concatenation and Repetition
    5. Common String Methods
    6. String Formatting
      1. Format Specification
      2. Long Lines of Code
    7. Built-in String Functions
  5. Iterables: Sequences, Dictionaries, and Sets
    1. Definitions
    2. Sequences
      1. Lists
      2. Deleting List Elements
      3. Sequences and Random
      4. Tuples
        1. The Immutability of Tuples
      5. Lists vs. Tuples
      6. Ranges
      7. Indexing and Slicing
      8. Converting Sequences to Strings with str.join(seq)
      9. Splitting Strings into Lists
    3. Unpacking Sequences
    4. Dictionaries
      1. The update() Method
      2. The setdefault() Method
      3. Dictionary View Objects
      4. Deleting Dictionary Keys
    5. The len() Function
    6. Sets
  6. Flow Control
    1. Conditional Statements
    2. The is and is not Operators
    3. Python's Ternary Operator
    4. Loops in Python
      1. while Loops
      2. for Loops
      3. break and continue
      4. The else Clause
    5. The enumerate() Function
    6. Generators
      1. The next() Function
    7. List Comprehensions
    8. *args and **kwargs
  7. File Processing
    1. Opening Files
      1. Methods of File Objects
    2. The os and os.path Modules
  8. Exception Handling
    1. Wildcard except Clauses
    2. Getting Information on Exceptions
    3. The else Clause
    4. The finally Clause
    5. Using Exceptions for Flow Control
    6. Exception Hierarchy
  9. Dates and Times
    1. Understanding Time
    2. The time Module
    3. The datetime Module

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).

InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)

For an overall view of our offerings, please visit us at