Rapid Introduction to Python for Programmers

This course provides a very fast introduction to Python for experienced programmers. Because a lot of content is covered in a short period of time, less time is dedicated to hands-on exercises than in our standard Python classes. The content covered in the class may differ slightly depending on the experience and needs of your team. It can also be lengthened to three days if you want more time doing hands-on exercises.

Goals
  1. Learn how Python works and what it's good for.
  2. Understand Python's place in the world of programming languages.
  3. Learn to work with and manipulate strings in Python.
  4. Learn to perform math operations with Python.
  5. Learn to work with Python sequences: lists, arrays, dictionaries, and sets.
  6. Learn to collect user input and output results.
  7. Learn flow control processing in Python.
  8. Learn to write to and read from files using Python.
  9. Learn to write functions in Python.
  10. Learn to handle exceptions in Python.
  11. Learn to work with databases, CSV files, JSON, and XML.
  12. Learn to write object-oriented code in Python.
  13. Learn to test and debug your Python code.
Outline
  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
    7. *args and **kwargs
  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
  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. Working with Data
    1. Databases
    2. CSV
    3. Getting Data from the Web
    4. HTML
    5. XML
    6. JSON
  10. Classes and Objects
    1. Creating Classes
    2. Attributes, Methods and Properties
    3. Extending Classes
    4. Documenting Classes
    5. Static, Class, Abstract Methods
    6. Decorators
  11. Testing and Debugging
    1. Creating Simulations
    2. Testing for Performance
    3. The unittest Module
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 is required for this Python class:

  • Significant programming experience in Java, C#, or a similar programming language.
Preparing for Class

Training for your Team

Length: 2 Days
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors

What people say about our training

Knowledgeable instructor who used tools other than just the database tool and WebEx (such as the whiteboard) that appeal to the right side of my brain. The graphic representation of tables via drawing with colors provided me with an easier learning experience and a more complete way to remember dry material.
Nancy Medina
None
Absolutely Wonderful! Easy, fun, informative. I will surely take more classes.
Kelly Henry
Schlumberger
I was a SharePoint novice, but this class really opened my eyes to the possibilities of Designer.
Jane Roegner
Federal Emergency Management Agency (FEMA)
Best on-line training class I have ever attended.
Phillip Murphy
U.S. Postal Service

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

61,268

Students who have taken Instructor-led Training

11,739

Organizations who trust Webucator for their Instructor-led training needs

100%

Satisfaction guarantee and retake option

9.56

Students rated our Rapid Introduction to Python for Programmers trainers 9.56 out of 10 based on 5 reviews

Contact Us or call 1-877-932-8228