Home About Courses Schedule Services Webinars Contact Search

Basic Python

SEE SCHEDULE

Duration: 3 Days

Method: Instructor-Led, Hands On

Price: $1800.00

Course Code: PY1005



Audience

This class is designed for students new to Python, or for students who have some exposure and need to expand their understanding.

Description

This Python training course is an introductory level course designed for students who are new to the language and need to learn the basics as well as for students who have had some exposure and now want to take their skills to the next level by introducing new topics and reinforcing existing knowledge.

Objectives

Upon successful completion of this course, the student will be able to:

  • Install Python and write basic scripts
  • Use built in data structures
  • Use all flow control features
  • Read and write from and to files
  • Use Python’s extensive libraries and functions

Prerequisites

Good computer skills and familiarity with basic programming concepts like variables, loops, and functions.

Topics

  1. Installation and Setup
    • Where to find Python
    • Installing Python
    • Testing your installation
  2. Getting Started
    • What is Python?
    • Why Python?
    • Hello World interactive
    • Hello World command line
    • Hello World in a file
    • The print statement
    • Comments
    • Line structure
    • When Things Go Wrong – Raising Exceptions
  3. Variables and Data Types
    • Variables
    • Identifiers
    • Binding
    • Data Types
    • Basic Numbers
    • Basic Strings
    • Using Tuples and Sequences
    • Using and modifying Lists
    • Using Dictionaries
    • Sequence slicing
  4. Operators
    • Basic Numeric Operators
    • Basic Arithmetic Operators
    • Exponentiation
    • Bitwise
    • Augmented Assignment
    • Truncating Division
    • Comparison and Logical
    • Chaining
    • Short-circuiting
    • The Range Function
  5. Control Structures
    • The If Statement
    • For loops
    • While loops
  6. Functions
    • Built-in functions
    • Defining functions
    • Using function objects
    • Passing arguments
    • Returning values
    • Function overloading
    • Named parameters
    • Default parameters
    • Function scope rules
    • Using the global statement
    • Pass by reference or value
  7. Exception Handling
    • The exception mechanism
    • Using the else clause
    • Using the finally clause
    • Using the raise statement
  8. Simple File I/O
    • Opening files
    • Reading and writing files
    • Reading whole files
    • Using a file interator
    • Reading and writing binary data
  9. Getting things done with modules and libraries
    • What is a module
    • Adding module names to your namespace
    • Finding modules
    • Standard modules
    • The sys module
    • Stdout, stderr, stdin
    • Exit
    • The ose module
    • Math with modules
    • Dates and Times
  10. Intermediate variables and operators
    • Advanced variables and datatypes
    • List comprehensions
    • Pass statement
    • Print >>
    • Ternary operator
    • Docstrings and Pydoc
    • Using enumerate
  11. Strings
    • Strings and regular expressions
    • Using str() and repr()
    • Raw and Unicode strings
    • The re module
  12. Functions
    • Functions
    • Varargs with * and **
    • Defining vararg functions
    • Expanding sequences
    • Lambda functions
    • Embedding tests with __main__