Live Chat
Monday - Friday 8am - 6pm EST Chat Now
Contact Us
Monday - Friday 8am - 8pm EST 1-800-268-7737 Other Contact Options
Checkout

Cart () Loading...

    • Quantity:
    • Delivery:
    • Dates:
    • Location:

    $

Python Basics

Learn to develop Python scripts using data retrieval and storage, working with RESTful APIs, and decoding JSON.

GK# 100418

$295 - $2195 USD

Enroll Request Group Training

Course Overview

TOP

Python is an interpreted, object-oriented, high-level scripting language that can help you get your work done in a hurry! Every lesson in the course is relevant for scripting within the workplace, including; data retrieval and storage from the local system, working with RESTful APIs, and decoding JSON.

Schedule

TOP
  • Delivery Format:
  • Date:
  • Location:
  • Access Period:

$

Class is Full
This session is full. Please select a different session.

What You'll Learn

TOP

Join an engaging hands-on learning environment, where you’ll learn:

  • How to get started with Python
  • Standard and popular 3rd party libraries
  • Version control with git
  • Storing data in list and dictionaries
  • Working with objects and methods, conditional statements, looping, creating functions, and building classes

This is a lab-intensive hands-on course with engaging instruction, demos, and discussions.

Outline

TOP
Viewing outline for:

Virtual Classroom Live Outline

Introduction to Python

  • Installing Python 2.7+
  • 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
  • Overview of the Standard Library

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

Basics of Programming

  • Functions
  • Objects
  • Methods
  • Built in Functions
  • Functions and Arguments
  • Print()
  • White spacing basic rules
  • String Literal Escape Sequences
  • Python Variables
  • Naming Conventions & Rules
  • Types as Objects
  • Sequence Types
  • List Iteration
  • List Enumeration
  • Sequence Assignments
  • Mutable vs Immutable Objects
  • Assignment Shorthand

Python Basic Variables and Data Types

  • Numeric Types
  • Operators and Precedence / Arithmetic Expressions
  • Integers
  • Floating points

String Types

  • Generating Strings in Python
  • Common String Methods
  • Formatting String Output
  • Booleans
  • Printing and formatting strings
  • Scripting with input()
  • About raw_input()

Lists, Dictionaries, and Tuples

  • Lists
  • Mixed Lists
  • Common List Methods
  • Other List Operations
  • Dictionaries
  • Python Dictionaries
  • Keys and Values
  • Dictionary Building
  • Dictionary Methods
  • Tuples
  • Python Time Tuples
  • Dictionaries vs Lists vs Tuples
  • Translating JSON to Pythonic Lists, Dictionaries and Tuples

If, elif, else

  • Relational Operators
  • Logical operators
  • Comparison Operations
  • “simple” if Statement
  • If else statements
  • If elif
  • Nested if statement

Looping with “while”

  • While usage
  • Count controlled loop
  • Event controlled loop
  • Continue
  • Break

Looping with “for”

  • The for Loop
  • For iteration examples
  • Looping across data sets
  • Looping across lists of lists
  • Looping across lists of dictionaries

Understanding Iterators

  • The range() Function
  • Taking the range() of len()
  • Iterable Objects
  • The iter() Function
  • Looping with dictionaries
  • Looping with lists

Getting Data In and Out of Python

  • Opening Files
  • Working with Files
  • Read data from files
  • Controlling Output Location
  • Intro to working with APIs
  • What is a “REST”ful API?
  • APIs and JSON

Python List Comprehension

  • Basic List Comprehensions
  • Compound List Comprehensions

Creating Python Functions

  • Function Basics
  • Defining Functions
  • Function Polymorphism
  • Argument Defaults
  • Lambdas
  • What is if __name__ == “__main__”
  • Local Variables
  • Variable Masking
  • Creating functions using Sorted() and sort()
  • Preventing Variable Modifications
  • Argument Matching Methods

Modules and Packages

  • Pip and pip3
  • Module Basics
  • Packages
  • Virtual environments
  • Defined modules
  • Import modules
  • From import statements
  • Namespace

Python Scope

  • Naming conventions
  • Local scope
  • Global scope
  • Nested scope

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
  • Subclasses (Inheritance)
  • Multiple Inheritance
  • Static methods

Regular Expression (Optional)

  • Import re library
  • Writing regular expression
  • Searching for data in files
  • Using Regular Expression to search data sets
  • Searching for data in Wireshark Traces (Python and *.pcaps)

Prerequisites

TOP

Before attending this course, you should have:

  • Basic familiarity with any programming or scripting language
  • Have a working, user-level knowledge of Unix/Linux, Mac, or Windows

Who Should Attend

TOP

Professionals who are new to Python and scripting.

Follow-On Courses

TOP
Course Delivery

This course is available in the following formats:

Virtual Classroom Live

Experience live, expert-led online training from the convenience of your home, office or anywhere with an internet connection.

Duration: 5 day

On-Demand

Train at your own pace with 24/7 access to courses that help you acquire must-have technology skills.



Request this course in a different delivery format.
Enroll