Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Python Automation for Business Workflows
·
Module 1
Building Reliable Automation Scripts
1
Constructing and Resolving Windows Paths with pathlib
Use pathlib to construct, inspect, and resolve Windows file-system paths.
2
Reading and Writing UTF-8 Text, JSON, and Workflow State Files
Read and write UTF-8 text and JSON files, including a simple workflow-state record.
3
Handling File, Network, and Data Errors with Targeted Exceptions
Handle expected file, network, and data errors with targeted try/except blocks.
4
Configuring Python Logging with Timestamps, Severity, and Context
Configure Python logging to record timestamps, severity levels, and diagnostic context.
5
Loading Non-Secret Settings from a Configuration File
Load non-secret settings from a configuration file.
Secure Credential Management with Environment Variables
Load credentials from environment variables without exposing them in source control.
7
Building CLI Options with argparse
Create command-line options with argparse for inputs, outputs, and dry-run mode.
8
Meaningful Exit Codes for Script Success and Failure
Return meaningful exit codes for successful and failed script runs.
Next module isn't ready yet,
Back to course
Previous module
Next module