Introduction to Python - PYT100

This three-day course provides the student with the knowledge to create and run Python scripts that include Python-specific data structures, function, modules, and classes. If you are looking for more advance Python topics, please take a look at our more Advanced Python class (PYT200).

This Introduction to Python course teaches the fundamental topics of the Python programming language. Python class discussions include coverage of language fundamentals, use of the built-in data types, dynamic data typing, object-oriented features, creation and use of modules, and beginning to advanced function definitions. An emphasis is placed on Python class design and best practices. This Introduction to Python course spends approximately 1 day on language basics, 1 day on solid Python object-oriented concepts, and concludes with a day of focus on valuable topics such as file I/O, network programming, and web application development with strong emphasis on the Python Standard Library.

This Introduction to Python class features lots of code examples, instructor demonstrations, participant code walkthroughs, and participant-based exercises.

Next public classes scheduled:
Jun 13 2012
Course ID: PYT100
Duration: 3 days
Audience: Programmers who are new to the Python language
Prerequisites: Basic computer knowledge and keyboarding skills. Some programming experience, object-oriented fundamentals is essential to getting the full benefit from this course. Typically knowledge of another OO language, such as C++, Java, C#, or similar is sufficient.
Topics:

Introduction to Python

  • Origin of Python
  • Where to Get Python
  • Invoking Python
  • Other Python Implementation
  • Python Resources

Handling Numbers and Strings

  • Numeric Data
  • Using Numbers
  • String Data
  • Using Strings

Variables and Data Structures

  • Variables
  • Numeric and String Variables
  • Lists
  • Tuples
  • Sets
  • Dictionaries
  • Additional Resources

Flow Control

  • Controlling the Flow
  • The ‘if’ Statement
  • The ‘while’ Statement
  • The ‘for’ Statement
  • The range() Function and Loops
  • Other Statements with Loops

Conditional Expressions

  • Conditions and Conditional Expressions
  • Numeric Comparisons and Conditions
  • Comparing Strings
  • Complex Conditions

Basic Input and Output

  • Reading Input
  • Simple Output
  • Formatted Output

Functions

  • Creating Functions
  • Invoking Functions
  • Returning Values from Functions
  • Passing Parameters
  • More About Function Arguments
  • Scope of Variables
  • Lambda Functions

Using Modules

  • What are Modules?
  • Creating Modules
  • Using Modules
  • More About Modules
  • Compiled Modules
  • Standard Modules

An Introduction to Classes

  • Namespaces
  • What is a Class?
  • Defining a Class
  • Defining Class and Instance Attributes
  • Defining Methods
  • Instantiating a Class
  • Inheritance
  • Resources

Regular Expressions

  • Pattern Matching vs. Wildcards
  • Compiling Regular Expressions
  • Matching vs. Searching
  • Substitution
  • Regular Expressions: Metacharacters
  • The Problem with
  • Special Backslash Sequences
  • Using MatchObject
  • Additional Regular Expression Operation
  • Additional Resources

Files

  • File Handles and File-like Objects
  • Opening and Closing Files
  • Reading from Files
  • Writing to Files
  • Moving Around in Files
  • The pickle Module
  • Resources

Errors and Exceptions

  • Errors, Exceptions, and Warnings
  • Raising an Exception
  • User Defined Exceptions
  • Catching and Handling Exceptions
  • The raise Statement
 

Call Toll-free 877-245-6815 or 303-416-3056 to set up your IT Training today.