Course Number: PYTH-268
Duration: 2 days (13 hours)
Format: Live, hands-on

Automation with Python Training Overview

The Task Automation with Python training course teaches Python programmers how to automate tasks using the core Python skills needed to write almost any automation script. Attendees learn how to work with environment variables, the file system, high-level file operations, regular expressions for extracting data from and manipulating text, and asynchronous programming.

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 courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand what task automation is and how Python supports automating tasks
  • Dive deep into essential skills of leveraging Python to utilize system resources
  • Strengthen text processing skills using Python, Reading/Writing File Formats, and Regular Expressions
  • Run subprograms from Python and perform tasks such as capturing program output and configuring environment variables
  • Improve task performance through asynchronous programming
  • Leverage network resources to enable tasks to communicate vital information

Prerequisites

All students must be able to comfortably write Python scripts using basic data types, program structures, and the standard Python library.

Outline

Expand All | Collapse All

Introduction
Development Environment Overview
  • Configure Visual Studio (VS) Code for Python script development
  • Code Reformatting with Black
  • Debugging Python Scripts with VS Code
Environment Variables
  • Setting Environment Variables for a Script (Windows, macOS, and Linux)
  • Reading Environment Variables
Files, Folders, and Operating System
  • Current Working Directory
  • File/Folder Paths
  • Reading and Writing Files
  • Asynchronous Reading and Writing Files
High-Level File Operations
  • ShUtil Module
  • Copy/Move/Delete Files
  • Copy/Move/Delete Directory Tree
  • Determine Disk Usage
  • Working with File Archives
  • Create, Remove, and List Directories
Command Line Arguments
  • Arg Parse Module
  • Positional Arguments
  • Named Arguments
  • Default Arguments
  • Argument Data Types
  • Argument Documentation
Regular Expressions (Regex)
  • Regex syntax overview
  • Regex objects
  • Searching and matching
  • Compilation flags
  • Groups and special groups
  • Replacing text
  • Splitting strings
Subprocess
  • Run Method
  • POpen Class
  • Running Subprocesses
  • Capture and Use Subprocess Output
Concurrent and Network Programming
  • Orchestrating Subprocesses
  • Access Data Sources Asynchronously
  • Send Emails
  • Send SMS Messages
  • Use FTP to Download/Upload Files
  • Use SSH to run Remote Commands
  • Use SSH to Download/Upload Files
Conclusion

Training Materials

All students receive comprehensive courseware.

Software Requirements

  • Any Windows, Linux, or Mac OS X operating system
  • Standard Python 3.x or Anaconda Python 3.x
  • Visual Studio Code (other editors may be used, but only Visual Studio Code will be configured for a complete Python programming environment)


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