In this course, you will develop the skills you need to write effective and powerful scripts and tools using Python. We will go through the necessary features of the Python language to be able to leverage its additional benefits in writing scripts and creating command line tools (data types, loops, conditionals, functions, error handling, and more). Beyond the language itself, you will go through the full development process including project setup, planning, and automated testing to build two different command line tools.
- Chapter 1 6 Lessons Introduction 26:11
- Chapter 2 2 Lessons Introducing Python 12:00
- Chapter 3 12 Lessons Just Enough Python 1:33:21
Introducing the REPL for Rapid Experimentation
1:53Creating and Running Python Scripts
2:13Using Comments in Python
1:51Data Types - Strings and Numbers
9:14Data Types - Booleans and None
2:34Working with Variables
2:57Lists and Tuples
13:08Dictionaries (dicts)
6:59Control Flow - Conditionals and Comparisons
7:22Control Flow - Loops
8:31Control Flow - Logic Operations
6:39Python 2.7 Scripting For System Administrators Python Basics
30:00 Quiz - Chapter 4 14 Lessons Scripting with Python 2:27:43
Reading User Input
4:53Encapsulating Behavior Using Functions
12:47Using Standard Library Packages
8:05Working with Environment Variables
4:52Interacting with Files
7:14Parsing Command Line Parameters
15:59Handling Errors with try/except/else/finally
10:12Execute Shell Commands from Within Python
8:21Exit Statuses
2:26Advanced Iteration with List Comprehensions
7:48Standard Library: random & json
10:17Standard Library: shutil & glob
12:26Standard Library: re & math
12:23Python 2.7 Scripting For System Administrators Python Scripting and IO
30:00 Quiz - Chapter 5 5 Lessons Third Party Packages 38:29
- Chapter 6 13 Lessons Creating a Larger Scripting Project 2:19:17
Examining the Problem and Planning
8:53Structuring the Project
13:28Test Driving the Command Line Parser (Part 1)
20:32Test Driving the Command Line Parser (Part 2)
9:38Implementing PostgreSQL Interaction
15:40Implementing Local File Storage
4:58Implementing S3 Storage
8:59Wiring the Units Together
15:01Building and Sharing a Wheel Distribution
6:44Installing Python 3 on CentOS 7
3:41(Optional) Installing Python 3 on Debian
4:13Testing Against Python 2 and Python 3
12:30Scripting For System Administrators Python Projects Testing and Distribution
15:00 Quiz - Chapter 7 1 Lesson Conclusion 1:24