Introduction to Python Programming

933 Ratings

Course Number: PYTH-100

Duration: 4 days (26 hours)

Format: Live, hands-on

Python Programming Training Overview

This Python training course leads students from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as tuples, array slices, and output formatting.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some Programming courses are available as live, online classes for individuals.

Objectives

  • Master the fundamentals of writing Python scripts
  • Learn core Python scripting elements such as variables and flow control structures
  • Discover how to work with lists and sequence data
  • Write Python functions to facilitate code reuse
  • Use Python to read and write files
  • Make their code robust by handling errors and exceptions properly
  • Work with the Python standard library
  • Explore Python's object-oriented features
  • Search text using regular expressions

Prerequisites

Students should already be comfortable using the operating system (Linux, Unix, Windows, Solaris, macOS, etc.) on which they will be running Python. While not mandatory, basic skills with at least one other programming language are desirable.

Outline

Expand All | Collapse All

An Overview of Python
  • What is Python?
  • Interpreted languages
  • Advantages and disadvantages
  • Downloading and installing
  • Which version of Python
  • Where to find documentation
The Python Environment
  • Structure of a Python script
  • Using the interpreter interactively
  • Running standalone scripts under Unix and Windows
Getting Started
  • Using variables
  • String types: normal, raw and Unicode
  • String operators and expressions
  • Math operators and expressions
  • Writing to the screen
  • Command line parameters
  • Reading from the keyboard
Flow Control
  • About flow control
  • Indenting is significant
  • The if and elif statements
  • while loops
  • Using lists
  • Using the for statement
  • The range() function
Array Types
  • list operations
  • list methods
  • Strings are special kinds of lists
  • tuples
Working with Files
  • Text file I/O overview
  • Opening a text file
  • Reading text files
  • Raw (binary) data
  • Writing to a text file
Dictionaries and Sets
  • Dictionary overview
  • Creating dictionaries
  • Dictionary functions
  • Fetching keys or values
  • Testing for existence of elements
  • Deleting elements
  • Sets And Frozen Sets
Functions
  • Syntax of function definition
  • Formal parameters
  • Global versus local variables
  • Passing parameters and returning values
Sorting
  • The sorted() function
  • Alternate keys
  • Multiple keys
  • Lambda functions
Errors and Exception Handling
  • Dealing with syntax errors
  • Exceptions
  • Handling exceptions with try/except
  • Cleaning up with finally
Modules and Packages
  • What is a module?
  • The import statement
  • Function aliases
  • Packages
Regular Expressions
  • RE Objects
  • Pattern matching
  • Parsing data
  • Subexpressions
  • Complex substitutions
  • RE tips and tricks
Highlights of the Standard Library
  • Working with the operating system
  • Grabbing web pages
  • Sending email
  • math and random
  • Accessing dates and times with datetime
  • Working with compressed files
An Introduction to Python Classes
  • About o-o programming
  • Defining classes
  • Constructors
  • Instance methods
  • Instance data
  • Class methods and data
  • Destructors
Conclusion

Training Materials:

All Python training students will receive comprehensive courseware.

Software Requirements:

  • Any Windows, Linux, or macOS operating system
  • Python 3.x installed (Anaconda bundle recommended)
  • An IDE with Python support (PyCharm Community Edition is an excellent free option, but there are several other good ones)


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan