Search our courses
Training

This Automating with Python training course entitled Automation with Python will teach you how to create Python programs to:

  •     Search for text in a file or across multiple files
  •     Create, update, move, and rename files and folders
  •     Search the Web and download online content
  •     Update and format data in Excel spreadsheets of any size
  •     Split, merge, watermark, and encrypt PDFs
  •     Send reminder emails and text notifications
  •     Fill out online forms

Course Outline

Day-1

  •     Python Basics
  •     Flow Control
  •     Functions
  •     Lists
  •     Dictionaries and Structuring Data
  •     Manipulating Strings

Day-2

  •     Pattern Matching with Regular Expressions
  •     Reading and Writing Files
  •     Organizing Files
  •     Debugging
  •     Web Scraping

Day-3

  •     Working with Excel Spreadsheets
  •     Working with PDF and Word Documents
  •     Working with CSV Files and JSON Data
  •     Keeping Time, Scheduling Tasks, and Launching Programs
  •     Sending Email and Text Messages

Automating with Python

Key Facts

Course Code

GTIT29

Duration

3 Days

Skillnet

Some subsidised places may be available on this course, please contact us for details.

Accreditation

N/A

Target Audience

This Automating with Python training course is designed for anyone who needs to learn how to write programs in Python. Students should have taken the Software Development for Non-Programmers course or have some experience with at least one programming language.

Attendee Requirements

  • Basic Python programming knowledge. These skills can be learned by attending our Intro to Python course.
  • Content creating, editing text files and moving between directories at a command line
  • Basic Web Browsing experience

If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please Contact Us to discuss your suitability for course attendance.

Expand all

Course Description

This Automating with Python training course entitled Automation with Python will teach you how to create Python programs to:

  •     Search for text in a file or across multiple files
  •     Create, update, move, and rename files and folders
  •     Search the Web and download online content
  •     Update and format data in Excel spreadsheets of any size
  •     Split, merge, watermark, and encrypt PDFs
  •     Send reminder emails and text notifications
  •     Fill out online forms

Course Outline

Day-1

  •     Python Basics
  •     Flow Control
  •     Functions
  •     Lists
  •     Dictionaries and Structuring Data
  •     Manipulating Strings

Day-2

  •     Pattern Matching with Regular Expressions
  •     Reading and Writing Files
  •     Organizing Files
  •     Debugging
  •     Web Scraping

Day-3

  •     Working with Excel Spreadsheets
  •     Working with PDF and Word Documents
  •     Working with CSV Files and JSON Data
  •     Keeping Time, Scheduling Tasks, and Launching Programs
  •     Sending Email and Text Messages
Course Outline

1. Python Basics

  •     Using the Interactive shell
  •     Errors are OK
  •     Math Operators: (precedence high to low)
  •     Brackets to control Precedence
  •     Common Data Types
  •     String Concatenation & Replication
  •     Assignment Statements
  •     Valid and Invalid variable names
  •     Your First Program
  •     str(), int() & float() Functions
  •     Text and number equivalence

2. Flow Control

  •     Flow Charts
  •     Boolean Values
  •     Comparison Operators
  •     Operating Application
  •     Binary Boolean Operators
  •     Operators Evaluation
  •     Code Blocks
  •     Flow control if else elif
  •     while loop
  •     break statement
  •     continue statement
  •     for loops & range
  •     Importing Modules
  •     Sys.exit ()

>>> Workshop

3. Functions

  •     def statement
  •     return values
  •     None value
  •     Keyword Arguments and print()
  •     Scope: Global can’t access local
  •     Scope: local can’t use other local
  •     Local and Global Variables with the Same Name
  •     Exception Handling
  •     try & except

>>> Workshop

4. Lists

  •     List data type
  •     Multi-dimensional lists
  •     Sub-lists with Slices
  •     Changing values with indexes
  •     List Concatenation and List Replication
  •     Removing Values from Lists with del
  •     Working with lists
  •     Using for Loops with Lists
  •     in and not in Operators
  •     Multiple Assignment idiom
  •     Methods
  •     Value in a List with the index() Method
  •     append(), insert() & remove() Method
  •     sort() Method
  •     Exceptions in Indentation
  •     tuples immutable Lists
  •     tuples Conversion
  •     References
  •     Passing References
  •     copy Module’s copy() and deepcopy()

>>> Workshop

5. Structuring Data with Dictionaries

  •     Dictionary Data Type
  •     keys() values() & items()
  •     In the Dictionary
  •     get() in Dictionaries
  •     setdefault
  •     Modelling the Real World
  •     Tic-Tac-Toe
  •     Shall we play a game ?
  •     Nested Dictionaries

>>> Workshop

6. Manipulating Strings

  •     String Literals
  •     Comments
  •     Slicing strings
  •     in strings
  •     Useful string functions
  •     isX String
  •     startswith() & endswith()
  •     join() & split()
  •     rjust(), ljust() & center()
  •     strip() rstrip() & lstrip()
  •     Project: Password Locker
  •     Project: Adding Bullets to wiki Markup

>>> Workshop

7. Pattern Matching with Regular Expressions

  •     Creating regex Objects
  •     Multiple Matching Groups with |
  •     zero or one match ?
  •     zero or more match *
  •     one or more +
  •     Repetitions {}
  •     Greedy Matches & findall
  •     Character Classes
  •     Matching Newlines re.DOTALL
  •     Review of regex Symbols
  •     Substituting Strings with the sub()

>>> Workshop

8. Reading and Writing Files

  •     Path names
  •     file Names
  •     File Size and Folder Contents
  •     Path Validity
  •     Reading From Files
  •     Writing to files
  •     Saving Variables with Shelve
  •     Pretty Printing

>>> Workshop

9. Organising Files

  •     shutil Module and File Copies
  •     Deletion
  •     Walking the tree
  •     Playing with zip files
  •     Extracting from zips
  •     Creating zip files

>>>Workshops

10. Debugging

  •     Debugging
  •     Exceptions
  •     Traceback
  •     Assertions
  •     logging
  •     Logging Levels
  •     Disabling Logging
  •     IDLE Debugger

>>> Workshop

11. Web Scraping

  •     Web Scraping
  •     webbrowser module
  •     requests module
  •     Missing Pages
  •     Saving Pages
  •     HTML
  •     HTML Anchors
  •     Chrome Developer Tools
  •     BeautifulSoup
  •     CSS Selectors
  •     Finding an Element with the select() Method
  •     Getting data from an Element’s Attributes
  •     Controlling your browser with Selenium
  •     Clicking the Page
  •     Filling in Forms
  •     Clicking on buttons

>>> Workshop

12. Working with Excel

  •     Working with Excel
  •     example.xlsx
  •     Getting Sheets from the Workbook
  •     Getting Cells from the Sheets
  •     Getting Rows and Columns from Sheets
  •     Writing Excel Documents
  •     Playing with Fonts
  •     Dimensions
  •     Merging Cells
  •     Formulas
  •     Freeze panes
  •     Building Charts
  •     Building Charts

>>> Workshop

13. Working with PDF & word documents

  •     Working with .pdf & .docx
  •     Extracting Text from PDFs
  •     Rotating PDFs
  •     Reading Word Documents
  •     Driving the styles
  •     Writing Word Documents

>>> Workshop

14. Working with CSV and JSON

  •     Working with CSV and JSON
  •     Extracting Text from CSV files
  •     Reader Objects in a for Loop
  •     Writer Objects
  •     Delimiters and line terminators
  •     Reading JSON with loads()
  •     Writing JSON with the dumps()
  •     REST APIs and JSON
  •     REST API returns

>>> Workshop

15. Keeping Time, Scheduling Task & Launching Programs

  •     time Module
  •     datetime Module
  •     timedelta
  •     datetime conversion to strings
  •     strings to datetime objects
  •     Threading
  •     Threading

>>> Workshop

16. Sending Email & text messages

  •     smtplib Module
  •     imapclient Module
  •     pyzmail Module
  •     Seaching Email
  •     twilio
  •     Seaching Email

>>> Workshop

Learning Path

There are a number of options of suitable follow-on courses, depending on your business needs. Please Contact Us for further details.

Ways to Attend
  • Attend a public course, please check our schedule
  • Private onsite Team training also available, please contact us to discuss. We can customise this course to suit your business requirements.

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 


“It was very positive. This course was 4 days but covered a semester worth of work if it was done in college. The labs were relevant and delegates were provided the lab/coursebook for further study and practice after the course finished. GuruTeam's course was excellent and provides a deeper understanding of the architecture and how it all works. The hands-on aspect was very helpful as it helped solidify the concepts as I went along."

 

Kubernetes Administration Certification - GTLFK

Live Online September 2024

 

 

 

“The Instructor was very knowledgeable, laid back and very approachable during the course. The environment setup was second to none.  Very easy to jump in and follow along with minimal pre-req setup."

Kubernetes Administration Certification - GTLFK

Onsite May 2024

 

“Very engaging and practical course so hope to be able to put the learning into practice.”

 

Being Agile in Business - GTBAB

Live Online September 2021

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Administration


 2nd - 5th December 2024
10th - 13th December 2024
16th - 19th December 2024


Live Online
GMT +01:00  09:30 - 17:00 hrs



This Kubernetes Administration Certification training course is suitable for anyone who wants to learn the skills necessary to build and administer a Kubernetes cluster.

 

 

 

Learn More

RUST PROGRAMMING



10th - 13th December 2024
16th - 19th December 2024


 

Live Online
GMT +01:00  09:30 - 17:00 hrs

This course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.
 

 

 

Learn More

INTRO TO PYTHON 3 

ADVANCED PYTHON 3

Dates to be added

 

Live Online
GMT +01:00  09:30 - 17:00 hrs

  
Python is a powerful and popular object-oriented programming/
 scripting language with many high quality libraries.
 



 

 

Learn More

 GO LANG TRAINING

10th - 13th December 2024
16th - 19th December 2024

Live Online
GMT +01:00  09:30 - 17:00 hrs
 

This Go language programming training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language. Innovative lab exercises and code samples are provided to reinforce skills and quickly master the topics.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter