Introduction to Python 3 Training

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. The course was written using Python 3.8, but is relevant for all students using Python 3.

Location

Public Classes: Delivered live online via WebEx and guaranteed to run . Join from anywhere!

Private Classes: Delivered at your offices , or any other location of your choice.

Course Topics
  1. How Python works.
  2. Python's place in the world of programming languages.
  3. Python literals.
  4. Python comments.
  5. Variables and Python data types.
  6. Simple modules.
  7. Outputting data with print().
  8. Collecting user input.
  9. Defining and calling functions.
  10. Parameters and arguments.
  11. Variable scope.
  12. Creating and importing modules.
  13. Math in Python.
  14. The math and random modules.
  15. String basics.
  16. Special characters.
  17. Multi-line strings.
  18. Indexing and slicing strings.
  19. Common string operators and methods.
  20. Formatting strings.
  21. Built-in string functions.
  22. Lists, tuples, ranges, dictionaries, and sets.
  23. The *args and **kwargs parameters.
  24. Virtual environments.
  25. Installing packages with pip.
  26. Conditions and loops.
  27. Generator functions.
  28. List comprehensions.
  29. Exception handling.
  30. The time and datetime modules.
  31. Working with files and directories.
  32. Working with the os and os.path modules.
  33. PEP8 and Pylint.
Outline
  1. Python Basics
    1. Getting Familiar with the Terminal
    2. Running Python
    3. Running a Python File
    4. Exercise: Hello, world!
    5. Literals
    6. Exercise: Exploring Types
    7. Variables
    8. Exercise: A Simple Python Script
    9. Constants and Deleting Variables
    10. Writing a Python Module
    11. print() Function
    12. Collecting User Input
    13. Exercise: Hello, You!
    14. Reading from and Writing to Files
    15. Exercise: Working with Files
  2. Functions and Modules
    1. Defining Functions
    2. Variable Scope
    3. Global Variables
    4. Function Parameters
    5. Exercise: A Function with Parameters
    6. Returning Values
    7. Exercise: Parameters with Default Values
    8. Returning Values
    9. Importing Modules
    10. Methods vs. Functions
  3. Math
    1. Arithmetic Operators
    2. Exercise: Floor and Modulus
    3. Assignment Operators
    4. Precedence of Operations
    5. Built-in Math Functions
    6. The math Module
    7. The random Module
    8. Exercise: How Many Pizzas Do We Need?
    9. Exercise: Dice Rolling
  4. Python Strings
    1. Quotation Marks and Special Characters
    2. String Indexing
    3. Exercise: Indexing Strings
    4. Slicing Strings
    5. Exercise: Slicing Strings
    6. Concatenation and Repetition
    7. Exercise: Repetition
    8. Combining Concatenation and Repetition
    9. Python Strings are Immutable
    10. Common String Methods
    11. String Formatting
    12. Exercise: Playing with Formatting
    13. Formatted String Literals (f-strings) (introduced in Python 3.6)
    14. Built-in String Functions
    15. Exercise: Outputting Tab-delimited Text
  5. Iterables: Sequences, Dictionaries, and Sets
    1. Definitions
    2. Sequences
    3. Lists
    4. Sequences and Random
    5. Exercise: Remove and Return Random Element
    6. Tuples
    7. Ranges
    8. Converting Sequences to Lists
    9. Indexing
    10. Exercise: Simple Rock, Paper, Scissors Game
    11. Slicing
    12. Exercise: Slicing Sequences
    13. min(), max(), and sum()
    14. Converting between Sequences and Strings
    15. Unpacking Sequences
    16. Dictionaries
    17. The len() Function
    18. Exercise: Creating a Dictionary from User Input
    19. Sets
    20. *args and **kwargs
  6. Virtual Environments, Packages, and pip
    1. Exercise: Creating, Activiting, Deactivating, and Deleting a Virtual Environment
    2. Packages with pip
    3. Exercise: Working with a Virtual Environment
  7. Flow Control
    1. Conditional Statements
    2. Compound Conditions
    3. The is and is not Operators
    4. all() and any() and the Ternary Operator
    5. In Between
    6. Loops in Python
    7. Exercise: All True and Any True
    8. break and continue
    9. Looping through Lines in a File
    10. Exercise: Word Guessing Game
    11. The else Clause in Loops
    12. Exercise: for...else
    13. The enumerate() Function
    14. Generators
    15. List Comprehensions
  8. Exception Handling
    1. Exception Basics
    2. Generic Exceptions
    3. Exercise: Raising Exceptions
    4. The else and finally Clauses
    5. Using Exceptions for Flow Control
    6. Exercise: Running Sum
    7. Raising Your Own Exceptions
  9. Python Dates and Times
    1. Understanding Time
    2. The time Module
    3. Time Structures
    4. Times as Strings
    5. Time and Formatted Strings
    6. Pausing Execution with time.sleep()
    7. The datetime Module
    8. datetime.datetime Objects
    9. Exercise: What Color Pants Should I Wear?
    10. datetime.timedelta Objects
    11. Exercise: Report on Departure Times
  10. File Processing
    1. Opening Files
    2. Exercise: Finding Text in a File
    3. Writing to Files
    4. Exercise: Writing to Files
    5. Exercise: List Creator
    6. The os Module
    7. os.walk()
    8. The os.path Module
    9. A Better Way to Open Files
    10. Exercise: Comparing Lists
  11. PEP8 and Pylint
    1. PEP8
    2. Pylint
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 Yourself

$2,300.00 or 4 vouchers

Upcoming Live Online Classes

  • See More Classes

Please select a class.

Training for your Team

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

What people say about our training

Well paced, 'hands on,' and very informative.
Ethan Lyon
SEER Interactive
The instructor did an excellent job of helping us understand the why's and the how's of advanced Access functions.
Mitchell Scott
L-3 Communications
The quality of training I received was outstanding. The instructor did an excellent job. It is because of instructors like this that I look to Webucator for software training first over other vendors.
Anthony Tasillo
Texas A&M Engineering Extension Service
One of the best introductory courses I've ever had.
Bill Conklin
Hellermanntyton

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

65,332

Students who have taken Instructor-led Training

12,014

Organizations who trust Webucator for their Instructor-led training needs

100%

Satisfaction guarantee and retake option

8.89

Students rated our Introduction to Python 3 Training trainers 8.89 out of 10 based on 1 reviews

Contact Us or call 1-877-932-8228