Introduction to Python Training

  4.7 out of 5 based on 106 Ratings

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.

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 dates and times in Python.
Outline
  1. Python Basics
    1. Running Python
      1. Visual Studio Code
      2. Python Interpreter in Interactive Mode
      3. Commercial and Free Python IDEs
      4. IDLE
    2. Hello, world!
    3. Hello World
    4. Literals
    5. Python Comments
      1. Multi-line Comments
    6. Data Types
    7. Exploring Types
    8. Variables
      1. Variable Names
      2. Variable Assignment
      3. Simultaneous Assignment
    9. A Simple Python Script
      1. Constants
      2. Deleting Variables
    10. Writing a Python Module
      1. The main() Function
    11. print() Function
      1. Named Arguments
    12. Collecting User Input
    13. Hello, You!
    14. 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
    5. A Function with Parameters
      1. Default Values
    6. Parameters with Default Values
    7. Returning Values
    8. Importing Modules
      1. Module Search Path
      2. pyc Files
  3. Math
    1. Arithmetic Operators
      1. Modulus and Floor Division
    2. Floor and Modulus
    3. Assignment Operators
      1. Precedence of Operations
    4. Built-in Math Functions
      1. int(x)
      2. eval(str)
      3. float(x)
      4. abs(x)
      5. min(args) and max(args)
      6. pow(x,y[,z])
      7. round(number[, n])
      8. sum(iter[, start])
    5. The math Module
      1. Additional math Functions
    6. The random Module
      1. Seeding
    7. How Many Pizzas Do We Need?
  4. Python Strings
    1. Quotation Marks and Special Characters
      1. Escaping Characters
      2. Triple Quotes
    2. String Indexing
    3. Indexing Strings
    4. Slicing Strings
    5. Slicing Strings
    6. Concatenation and Repetition
      1. Concatenation
      2. Repetition
    7. Repetition
      1. Combining Concatenation and Repetition
    8. Common String Methods
    9. String Formatting
      1. Format Specification
      2. Long Lines of Code
    10. Playing with Formatting
    11. Formatted String Literals (f-strings)
    12. Getting Acquainted with f-strings
    13. Built-in String Functions
      1. str(object)
      2. len(string)
      3. min() and max()
    14. Outputting Tab-delimited Text
  5. Iterables: Sequences, Dictionaries, and Sets
    1. Definitions
    2. Sequences
      1. Lists
      2. Deleting List Elements
      3. Sequences and Random
    3. Remove and Return Random Element
      1. Tuples
      2. The Immutability of Tuples
      3. Lists vs. Tuples
      4. Ranges
      5. Converting Sequences to Lists
      6. Indexing and Slicing
    4. Simple Rock, Paper, Scissors Game
    5. Slicing Sequences
      1. min(iter) and max(iter)
      2. sum(iter[, start])
      3. Converting Sequences to Strings with str.join(seq)
      4. Splitting Strings into Lists
    6. Unpacking Sequences
    7. Dictionaries
      1. The update() Method
      2. The setdefault() Method
      3. Dictionary View Objects
      4. Deleting Dictionary Keys
    8. The len() Function
    9. Creating a Dictionary from User Input
    10. Sets
    11. *args and **kwargs
      1. Using *args
      2. Using **kwargs
  6. Flow Control
    1. Conditional Statements
      1. The is and is not Operators
      2. all() and any()
      3. Ternary Operator
    2. Loops in Python
      1. while Loops
      2. for Loops
    3. All True and Any True
    4. break and continue
    5. Word Guessing Game
      1. The else Clause
    6. Find the Needle
    7. The enumerate() Function
    8. Generators
      1. Generator Use Case: Randomly Moving Object
      2. The next() Function
    9. Rolling Dice
    10. List Comprehensions
  7. Virtual Environments
    1. Virtual Environment
      1. Creating a Virtual Environment
      2. Activating and Deactivating a Virtual Environment
      3. Deleting a Virtual Environment
    2. Working with a Virtual Environment
  8. Regular Expressions
    1. Regular Expression Syntax
      1. Try it
      2. Backreferences
    2. Python's Handling of Regular Expressions
  9. Unicode and Encoding
    1. Bits and Bytes
    2. Hexadecimal Numbers
    3. Converting Numbers between Number Systems
      1. hex(), bin(), ord(), chr(), and int()
    4. Encoding
      1. Encoding Text
      2. Encoding and Decoding Files in Python
      3. Converting a File from cp1252 to UTF-8
    5. Finding Confusables
  10. File Processing
    1. Opening Files
      1. Methods of File Objects
    2. Finding Text in a File
    3. Writing to Files
    4. List Creator
    5. The os and os.path Modules
      1. os
      2. os.path
  11. Exception Handling
    1. Wildcard except Clauses
    2. Getting Information on Exceptions
    3. Raising Exceptions
    4. The else Clause
    5. The finally Clause
    6. Using Exceptions for Flow Control
    7. Running Sum
    8. Raising Your Own Exceptions
    9. Exception Hierarchy
  12. Python Dates and Times
    1. The time Module
      1. Clocks
      2. Time Structures
      3. Times as Strings
      4. Time and Formatted Strings
      5. time.sleep(secs)
    2. The datetime Module
      1. datetime.date objects
      2. datetime.time objects
      3. datetime.datetime Objects
      4. datetime.timedelta objects
    3. Report on Amtrak Departure Times
  13. Running Python Scripts from the Command Line
    1. sys.argv
      1. A More Useful Example
    2. sys.path
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 would be useful for this Python class:

  • Some programming experience.
Follow-on Courses

Training for your Team

Length: 4 Days

Training for Yourself

$2,300.00 or 4 vouchers

Upcoming Live Online Classes

  • See More Classes

Please select a class.
  • Live Online Training
  • For Individuals
  • Expert Instructors
  • Guaranteed to Run
  • 100% Free Re-take Option
  • 1-minute Video

What people say about our training

Our instructor was fantastic! He taught us many real world examples of how to start tackling our problems!
Jeff Butler
Cradlepoint
I was hoping for a bootcamp to learn the basics of Python, and that's exactly what we got. Great job!
LaToya Moseley
Humana
This is a great course. It provides a thorough grounding in the Python language to serve as a foundation for future learning and experience.
Daniel Stutzman
School of Art Institute of Chicago
Great class! I would recommend the class to anyone interested in wanting to learn Python.
Gary Woolfolk
FannieMae

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

62,326

Students who have taken Instructor-led Training

11,815

Organizations who trust Webucator for their Instructor-led training needs

100%

Satisfaction guarantee and retake option

9.48

Students rated our Introduction to Python Training trainers 9.48 out of 10 based on 106 reviews

Contact Us or call 1-877-932-8228