Introduction to Python

Introduction to Python Courseware (PYT138)

This Introduction to Python course provides a comprehensive foundation in Python programming, starting with Python basics such as running Python scripts, understanding literals, comments, data types, and working with variables. The course then progresses to functions and modules, arithmetic operations, and Python string manipulation. You'll also learn about iterables, including sequences, dictionaries, and sets, as well as virtual environments, packages, and pip. The course covers flow control, exception handling, Python dates and times, and file processing. Finally, it introduces you to PEP8 and Pylint for code quality and style. Each section includes exercises to help you practice your newfound skills and solidify your understanding of Python programming concepts.

This is the updated version of 55284AC from the retired Microsoft Courseware Marketplace.

Publisher: Webucator


  1. Easy-to-follow curriculum: The course is structured to gradually introduce Python concepts, starting with the basics and progressing to more advanced topics. This step-by-step approach allows students to build their skills and confidence at a comfortable pace.
  2. Engaging, hands-on learning: Our course emphasizes practical coding exercises and real-life examples, enabling students to apply their newfound Python knowledge to actual programming challenges. This hands-on approach helps solidify understanding and retention.
  3. Expert authors: The course was written and is maintained by experienced instructors with a deep understanding of Python and a passion for teaching. Their expertise ensures that the course provides clear explanations, practical exercises, and engaging content.
  4. Strong foundation for future learning: By covering fundamental Python concepts, the course lays the groundwork for students to pursue more advanced programming topics, setting them on a path to becoming proficient Python developers.

Full Lab Environment Add-On

Enhance and simplify your classes by providing an unparalleled learning platform that requires no setup. Your trainers and students can dive straight into a fully-prepared lab environment with just a click. This seamless integration means no time wasted on installations or configurations, allowing trainers and students to focus solely on the task at hand. The lab comes pre-loaded with all the necessary tools and resources, ensuring a smooth, hassle-free learning experience.

Skillable Lab


  1. Python Basics
    1. Getting Familiar with the Terminal
    2. Running Python
    3. Running a Python File
    4. Hello, world! (Exercise)
    5. Literals, Comments, and Data Types
    6. Exploring Types (Exercise)
    7. Variables
    8. A Simple Python Script (Exercise)
    9. Constants and Deleting Variables
    10. Writing a Python Module
    11. print() Function
    12. Collecting User Input
    13. Hello, You! (Exercise)
    14. Reading from and Writing to Files
    15. Working with Files (Exercise)
  2. Functions and Modules
    1. Defining Functions
    2. Variable Scope
    3. Global Variables
    4. Function Parameters
    5. A Function with Parameters (Exercise)
    6. Default Values
    7. Parameters with Default Values (Exercise)
    8. Returning Values
    9. Importing Modules
    10. Methods vs. Functions
  3. Math
    1. Arithmetic Operators
    2. Floor and Modulus (Exercise)
    3. Assignment Operators
    4. Precedence of Operations
    5. Built-in Math Functions
    6. The math Module
    7. The random Module
    8. How Many Pizzas Do We Need? (Exercise)
    9. Dice Rolling (Exercise)
  4. Python Strings
    1. Quotation Marks and Special Characters
    2. String Indexing
    3. Indexing Strings (Exercise)
    4. Slicing Strings
    5. Slicing Strings (Exercise)
    6. Concatenation and Repetition
    7. Repetition (Exercise)
    8. Combining Concatenation and Repetition
    9. Python Strings are Immutable
    10. Common String Methods
    11. String Formatting
    12. Playing with Formatting (Exercise)
    13. Formatted String Literals (f-strings)
    14. Built-in String Functions
    15. Outputting Tab-delimited Text (Exercise)
  5. Iterables: Sequences, Dictionaries, and Sets
    1. Definitions
    2. Sequences
    3. Lists
    4. Sequences and Random
    5. Remove and Return Random Element (Exercise)
    6. Tuples
    7. Ranges
    8. Converting Sequences to Lists
    9. Indexing
    10. Simple Rock, Paper, Scissors Game (Exercise)
    11. Slicing
    12. Slicing Sequences (Exercise)
    13. min(), max(), and sum()
    14. Converting between Sequences and Strings
    15. Unpacking Sequences
    16. Dictionaries
    17. The len() Function
    18. Creating a Dictionary from User Input (Exercise)
    19. Sets
    20. *args and **kwargs
  6. Virtual Environments, Packages, and pip
    1. Creating, Activating, Deactivating, and Deleting a Virtual Environment (Exercise)
    2. Packages with pip
    3. Working with a Virtual Environment (Exercise)
  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. All True and Any True (Exercise)
    8. break and continue
    9. Looping through Lines in a File
    10. Word Guessing Game (Exercise)
    11. The else Clause in Loops
    12. for…else (Exercise)
    13. The enumerate() Function
    14. Generators
    15. List Comprehensions
  8. Exception Handling
    1. Exception Basics
    2. Generic Exceptions
    3. Raising Exceptions (Exercise)
    4. The else and finally Clauses
    5. Using Exceptions for Flow Control
    6. Running Sum (Exercise)
    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. What Color Pants Should I Wear? (Exercise)
    10. datetime.timedelta Objects
    11. Report on Departure Times (Exercise)
  10. File Processing
    1. Paths
    2. The pathlib Module
    3. Opening Files
    4. Finding Text in a File (Exercise)
    5. Writing to Files
    6. Writing to Files (Exercise)
    7. List Creator (Exercise)
    8. Path Methods for Reading and Writing Files
    9. Making Directories
    10. Deleting Files and Directories
    11. Renaming Files and Directories
    12. The os Module
    13. A Better Way to Open Files
    14. Comparing Lists (Exercise)
  11. PEP8 and Pylint
    1. PEP8
    2. Pylint

Required Prerequisites


Useful Prerequisites

  • Some programming experience.

Length: 4 days | $180.00 per copy
Labs: Add-on available | $50.97 per lab
View Lab Details

LicenseRequest More InformationDownload Sample CopyRequest Trainer Evaluation Copy
What is Included?
  • Student Manual
  • Student Class Files
  • Labs (optional add-on)
    Courseware Tracks

    This course is included in the following tracks: