Python Fundamentals

Duration

35 hours or 5 classroom days

Course Overview

This class is a study of the Python programming language. Students will learn to build their own environments in which to program, and begin writing their own code. By the end of the first day, you should feel comfortable writing code on your own machine. By the conclusion of the course, students will understand the basics of object-oriented programming, how to use Python to interact with data sets (such as XML and JSON), interact with APIs, track down code snippets and programs on places like GitHub, as well as debug broken code. This course is 50% lecture and 50% hands-on labs. Students need no prior programming experience.

Download Detailed Outlline

Course Outline: Python Basics

Python Basics (1 Week)

5 days with Hands-on Labs

- Recommended Follow Up: Advanced Python (5 days)

- Recommended Follow Up: Python for Network Automation (5 days)


Python Basics

  1. Introduction to Python
    • Installing Python 2.x
    • Installing Python 3.x
    • Preparing to write Python
    • Preparing to write a Python file (*.py) - Text Editors
    • Executing a Python file
    • Python Enhancement Proposals
    • How to "speak' Python
    • Python Statements and Control Flow
    • Python Interpreter
  2. Version Controlling Code
    • Set up a github account
    • Github essentials
    • README course requirements
    • How to Set up a repo
    • Issue a Pull request
    • How to use “Issues” for peer review
  3. Basics of Programming
    • Built in Functions
    • Functions and Arguments
    • Print()
    • White spacing basic rules
    • String Literal Escape Sequences
    • Python Variables
    • Naming Conventions & Rules
    • Types as Objects
    • Variable References & Garbage Collection
    • Sequence Types
    • Membership Statements
    • List Iteration
    • List Enumeration
    • Sequence Assignments
    • Mutable vs Immutable Objects
    • Multi Target Assignments
    • Arithmetic Expressions
    • Assignment Shorthand
  4. Python Basic Variables and Data Types
    • Numeric Types
    • Operators and Precedence
    • Integers
    • Floating points
  5. String Types
    • Generating Strings in Python
    • Common String Methods
    • Formatting String Output
    • Booleans
    • Printing and formatting strings
    • Scripting with input()
    • About raw_input()
  6. Python Lists & Tuples
    • Intro to Integers
    • Mixed variable lists
    • Tuples
    • Common List Methods
    • Other List Operations
    • Tuples
    • Python Time Tuples
    • Tuples vs Lists
    • Python Dictionaries
    • Python Dictionaries
    • Keys and Values
    • Dictionary Building
    • Assigning Values to Dictionaries
    • Dictionary Methods
    • Dictionaries vs Lists & Tuples
  7. If, elif, else
    • Relational Operators
    • Logical operators
    • Comparison Operations
    • “simple” if Statement
    • If else statements
    • If elif
    • Nested if statement
  8. Looping with “while”
    • While usage
    • Count controlled loop
    • Event controlled loop
    • Continue
    • Break
  9. Looping with “for”
    • The for Loop
    • For iteration example
  10. Understanding Iterators
    • The range() Function
    • Taking the range() of len()
    • Iterable Objects
    • The iter() Function
    • Looping with dictionaries
    • Looping with lists
  11. Basic Input/Output with Files
    • Opening Files
    • Working with Files
    • Read data from files
    • Controlling Output Location
  12. Python List Comprehension
    • Basic List Comprehensions
    • Compound List Comprehensions
  13. Creating Python Functions
    • Function Basics
    • Defining Functions
    • Function Polymorphism
    • Argument Defaults
    • Lambdas
    • Local Variables
    • Variable Masking
    • Creating functions using Sorted() and sort()
    • Preventing Variable Modifications
    • Argument Matching Methods
  14. Modules & Packages
    • Pip and pip3
    • Module Basics
    • Packages
    • Virtual environments
    • Defined modules
    • Import modules
    • From import statements
    • Namespace
  15. Python Scope
    • Naming conventions
    • Local scope
    • Global scope
    • Nested scope
  16. Object Oriented Python
    • About OOP
    • The Class Statements
    • Defining a class
    • Class Inheritance
    • Classes as Objects
    • Using Dictionaries
    • Understanding self
    • Class fields and constructors
    • Data structures
    • Sub classes (Inheritance)
    • Multiple Inheritance
    • Static methods
python1_tutorial

Enroll

Self-paced: $ 595 USD

  • Digital course materials
  • Includes 1 year access to videos
  • 60 day access to hands on labs

Live Instructor via the web: $ 2595 USD

  • Virtual web-based presentation
  • A teacher to guide you
  • Plus all the self-paced items

Bring us Onsite:

  • Contact us for onsite quotes

Next Public Course Offerings:



Testimonials

Different plans for everyone

Choose the pricing that fits your business needs

Live Instructor via the Web
$ 2595
  • Virtual web-based presentation
  • A teacher to guide you
  • Plus all the self-paced items
  • Buy Instructor Led

    Onsite
    Contact Us
  • Instructor led class
  • Hands-on lab access
  • Plus all the self-paced items
  • Contact Us