Introduction to Python 3.x Programming

Hands-on Core Python Scripting & App Dev, Automated Test Scripts, DB API, NumPy & More

Duration:

3 days

Audience:

Experienced Programmers and Systems Administrators that are employees of federal, state and local governments; and businesses working with the government.

Training Overview:

Introduction to Python 3.x Programming is a hands-on Python programming course that teaches students the essentials of Python scripting to about an intermediate level. Students will leave this class armed with the core skills required to write basic Python programs dealing with sequences and mappings, program flow control, system calls and file manipulation. The course provides insight to the latest features of Python that make it an excellent choice for projects of virtually any size.

Hands-On Format: This hands-on class is approximately 50% hands-on lab to 50% lecture ratio, combining engaging lecture, demos, group activities and discussions with machine-based practical programming student labs and project work.

Course Topics Covered:

Throughout the course, students will explore and learn about:

  • Python Background and History
  • Python Language Basics
  • Complex Types and Operators
  • Statements and Control Structures
  • Functions
  • Modules, Classes
  • Advanced Classes
  • DB API
  • NumPy and more

Course Objectives:

Working within in an engaging, hands-on learning environment, guided by our expert Python practitioner, students will learn to:

  • Understand the uses for Python in software development, testing and systems administration environments
  • How to develop Python applications for a variety of uses
  • Packaging and distribution of Python applications and modules
  • Communicating with a SQL database using Python
  • Use Python for developing automated test scripts

 

Workshop Topics Covered:

Session:  Python Overview and History

  • Why Python?
  • How to run Python applications
  • Python configuration details

Session:  Language Basics

  • Program structure
  • Strings
  • Basic operations
  • Slices
  • Formatting
  • Numbers
  • Types
  • Basic arithmetic operations
  • Formatting
  • Conversions

Session:  Complex Types and Operators

  • Tuples
  • Lists
  • Tuple and List manipulation
  • Basic operations
  • Dictionary
  • Files
  • Opening
  • Reading
  • Writing

Session:  Statements and Control Structures

  • Assignment
  • Expressions
  • if statements
  • while loops
  • for loops

Session:  Functions

  • Function Basics
  • Scope rules
  • Arguments
  • Functions as arguments

Session:  Modules

  • Module Basics
  • Namespaces
  • Importing and Reloading modules

Session:  Classes & Objects

  • What is a class?
  • What is an Object?
  • Class basics
  • Writing methods

Session:  Advanced Classes

  • Inheritance
  • Operator overloading

Session:  DB API

  • DB Interfaces
  • Connecting to the Server
  • Executing SQL Statements
  • Parameterized Statements

Session:  NumPy

  • Downloading and installing NumPy
  • Array slicing with NumPy
  • Array arithmetic
  • Numeric functions

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be easily adjusted to accommodate.  We offer additional Python programming courses which may be blended with this course for a track that best suits your development objectives

Whether you are a student attending a public course, or a manager securing this training for your team, our team will collaborate with you to understand your needs and will target the course to focus on your specific learning objectives and goals.