Even though this was a distance learning class, it felt very much like we were right in class. More Testimonials »

Python I: Essentials (3.X)

Delivery Options

Upcoming Live eLearning Classes

There are currently no upcoming Live eLearning classes. Please contact us if you would like us to schedule a class.

Class Description

Class Overview

This Python training leads the student from the basics of writing and running Python 3 scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as tuples, array slices, and output formatting.

This is a hands-on programming class. All concepts are reinforced by informal practice during the lecture followed by graduated lab exercises.

This course is appropriate for advanced users, system administrators and web site administrators who want to use Python to support their server installations, as well as anyone else who wants to automate or simplify common tasks with the use of Python scripts.

Class Goals

  • Learn the basics of Python.
  • Learn to work with numbers and strings in Python.
  • Learn to work create and use variables and work with Python's data structures.
  • Learn Python's flow control statements.
  • Learn to work with conditional expressions.
  • Learn to read input and produce output.
  • Learn to work with Python's Modules.
  • Learn about classes and object-oriented programming in Python.
  • Learn to work with Regular Expressions.
  • Learn to integrate your application with the file system.
  • Learn to handle errors and exceptions.

Class Outline

  1. An overview of Python
    1. What is Python?
    2. Python Timeline
    3. Advantages/Disadvantages of Python
    4. Getting help with pydoc
  2. The Python Environment
    1. Starting Python
    2. Using the interpreter
    3. Running a Python script
    4. Python scripts on Unix/Windows
    5. Editors and IDEs
  3. Getting Started
    1. Using variables
    2. Builtin functions
    3. Strings
    4. Numbers
    5. Converting among types
    6. Writing to the screen
    7. Command line parameters
  4. Flow Control
    1. About flow control
    2. White space
    3. Conditional expressions
    4. Relational and Boolean operators
    5. While loops
    6. Alternate loop exits
  5. Sequences
    1. About sequences
    2. Lists and list methods
    3. Tuples
    4. Indexing and slicing
    5. Iterating through a sequence
    6. Sequence functions,keywords, and operators
    7. List comprehensions
    8. Nested sequences
  6. Working with files
    1. File overview
    2. Opening a text file
    3. Reading a text file
    4. Writing to a text file
    5. Screen output without formatting
    6. Raw (binary) data
  7. Dictionaries and Sets
    1. About dictionaries
    2. Creating dictionaries
    3. Iterating through a dictionary
    4. About sets
    5. Creating sets
    6. Working with sets
  8. Functions
    1. About sequences
    2. Function parameters
    3. Global variables
    4. Global scope
    5. Returning values
  9. Sorting
    1. The sorted() function
    2. Alternate keys
    3. Lambda functions
    4. Sorting collections
    5. Using operator.itemgetter()
    6. Reverse sorting
  10. Errors and Exception Handling
    1. Syntax errors
    2. Exceptions
    3. Using try/catch/else/finally
    4. Handling multiple exceptions
    5. Ignoring exceptions
  11. Using Modules
    1. The import statement
    2. Module search path
    3. Zipped libraries
    4. Creating Modules
    5. Function and Module aliases
  12. Regular Expressions
    1. RE syntax overview
    2. Basic patterns
    3. RE Objects
    4. Searching and matching
    5. Compilation flags
    6. Grouping
    7. Replacing text
    8. Splitting a string
  13. Using the Standard Library
    1. The sys module
    2. Launching external programs
    3. Walking directory trees
    4. Grabbing web pages
    5. Sending e-mail
    6. Paths, directories, and filenames
    7. Math functions
    8. Random numbers
    9. Dates and times
    10. Zipped archives
  14. An Introduction to Python classes
    1. About o-o programming
    2. Defining classes
    3. Constructors
    4. Instance methods
    5. Instance data
    6. Class methods and data
    7. Destructors
  15. Bonus Exercises

Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following areas is required:

  • Students should already have a working, user-level knowledge of Unix/Linux, Mac, or Windows. While not required, basic skills with at least one other programming language will be helpful.

Technical Requirements

Our computer technical requirements and setup process is easy, with support just a click away.

Potential Follow-on Classes

Client Success
  1. Independent Survey
  2. Client List
  3. Testimonials
Join The Team
  1. Learn how you can become a Webucator Trainer
  2. Career Opportunities
Locations
Compare Us
Watch 3-minute Demo Video
of Live Online Training:
Learn the benefits of online training with Webucator
Webucator is a Registered Education Provider (R.E.P.) approved by PMI to issue professional development units (PDUs) for our training courses.
© Webucator, Inc. All rights reserved. | Toll Free: 1-877-932-8228 | From outside the USA: 315-849-2724| Fax: 315-849-2723