- Level Foundation
- Duration 26 hours
- Course by Google
-
Offered by
About
By the end of this course, you'll be able to manipulate files and processes on your computer's operating system. You'll also have learned about regular expressions -- a very powerful tool for processing text files -- and you'll get practice using the Linux command line on a virtual machine. And, this might feel like a stretch right now, but you'll also write a program that processes a bunch of errors in an actual log file and then generates a summary file. That's a super useful skill for IT Specialists to know. We'll kick off by exploring how to execute Python locally, and organize and use code across different Python files. We'll then learn how to read and write different types of files, and use subprocesses and input streams. We'll also dive into Bash scripting and regular expressions -- both very powerful tools for anyone working with systems. We'll even touch on automatic testing, which allow us to automate how we check if our code is correct. To finish, we'll put all this together by using the tools that we've acquired to process data and generate automatic reports. We'll also explain how to set up your own developer environment in your machine. This is a key step in being able to write and deploy powerful automation tools.Modules
Course Introduction
1
Videos
- Course Introduction
1
Readings
- Welcome to the Course
Getting Ready for Python
1
Assignment
- Practice Quiz: Getting Ready for Python
6
Videos
- Intro to Module 1: Getting Your Python On
- Getting Familiar with the Operating System
- Getting Your Computer Ready for Python
- Setting up Your Environment on Windows (Optional)
- Setting up Your Environment on MacOS (Optional)
- Setting up Your Environment on Linux (Optional)
1
Readings
- Pointers for Getting Your Environment Setup
Running Python Locally
1
Assignment
- Practice Quiz: Running Python Locally
4
Videos
- Interpreted vs. Compiled Languages
- How to Run a Python Script
- Your Own Python Modules
- What is an IDE?
2
Readings
- Setting up Your Environment
- Virtual environments
Automating Tasks Through Programming
1
Assignment
- Practice Quiz: Automation
3
Videos
- Benefits of Automation
- Pitfalls of Automation
- Practical Automation Example
1
Readings
- Is it worth the time?
Module Review
1
Videos
- Module 1 Wrap Up: Getting Your Python On
1
Readings
- Glossary terms from course 2, module 1
1
Quiz
- Module 1 graded assessment
Reading and Writing Files
1
Labs
- Practice Notebook: Text Files
4
Videos
- Programming with Files
- Reading Files
- Iterating through Files
- Writing Files
4
Readings
- Review: Reading files
- Review: Iterating through files
- Review: Writing files
- Study guide: Reading and writing files
File Paths
1
Assignment
- Writing File Paths
2
Videos
- File paths
- How to write file paths in code
1
Readings
- Review: How to write file paths in code
Managing Files and Directories
1
Assignment
- Practice Quiz: Managing Files & Directories
3
Videos
- Working with Files
- More File Information
- Directories
4
Readings
- Review: Working with files
- Review: More file information
- Review: Directories
- Study guide: Files and directories
Reading and Writing CSV Files
1
Assignment
- Practice Quiz: Reading & Writing CSV Files
4
Videos
- What is a CSV file?
- Reading CSV Files
- Generating CSV
- Reading and writing CSV Files with Dictionaries
4
Readings
- Review: Reading CSV files
- Review: Generating CSV
- Review: Reading and writing CSV files with dictionaries
- Study guide: .csv files
Module Review
1
Assignment
- Module 2 graded assessment
1
External Tool
- Qwiklabs assessment: Handling files
2
Videos
- What is Qwiklabs?
- Module 2 Wrap Up: Managing Files with Python
3
Readings
- Qwiklabs guidelines and troubleshooting steps
- Exemplar: Handling Files
- Glossary terms from course 2, module 2
Regular Expressions
1
Assignment
- Practice Quiz: Regular Expressions
4
Videos
- Intro to Module 3: Regular Expressions
- What are regular expressions?
- Why use regular expressions?
- Basic Matching with grep
1
Readings
- Review: Why use regular expressions?
Basic Regular Expressions
1
Assignment
- Practice Quiz: Basic Regular Expressions
5
Videos
- Simple Matching in Python
- Wildcards and Character Classes
- Repetition Qualifiers
- Escaping Characters
- Regular Expressions in Action
6
Readings
- Review: Simple matching in Python
- Review: Wildcards and character classes
- Review: Repetition qualifiers
- Review: Escaping characters
- Review: Regular expressions in action
- Study guide: Regular expressions
Advanced Regular Expressions
1
Assignment
- Practice Quiz: Advanced Regular Expressions
4
Videos
- Capturing Groups
- More on Repetition Qualifiers
- Extracting a PID Using regexes in Python
- Splitting and Replacing
5
Readings
- Review: Capturing groups
- Review: More on repetition qualifiers
- Review: Extracting a PID using regexes in Python
- Review: Splitting and replacing
- Study guide: Advanced regular expressions
Module Review
1
Assignment
- Work with regular expressions
1
External Tool
- Qwiklabs assessment: Work with regular expressions
1
Videos
- Module 3 Wrap Up: Regular Expressions
2
Readings
- Glossary terms from course 2, module 3
- Exemplar: Work with regular expressions
Data Streams
1
Assignment
- Practice Quiz: Data Streams
5
Videos
- Intro to Module 4: Managing Data and Processes
- Reading data interactively
- Standard Streams
- Environment Variables
- Command-Line Arguments and Exit Status
5
Readings
- Review: Reading data interactively
- Review: Standard streams
- Review: Environment variables
- Review: Command-Line arguments and exit status
- More About Input Functions
Python Subprocesses
1
Assignment
- Practice Quiz: Python Subprocesses
3
Videos
- Running System Commands in Python
- Obtaining the Output of a System Command
- Advanced Subprocess Management
4
Readings
- Review: Running system commands in Python
- Review: Obtaining the output of a system command
- Review: Advanced subprocess management
- Study guide: Python subprocesses
Processing Log Files
1
Assignment
- Practice Quiz: Processing Log Files
3
Videos
- What are log files?
- Filtering Log Files with Regular Expressions
- Making Sense out of the Data
2
Readings
- Review: Filtering log files with regular expressions
- Review: Making sense out of the data
Module Review
1
External Tool
- Qwiklabs assessment: Work with log files
1
Videos
- Module 4 Wrap Up: Managing Data and Processes
2
Readings
- Glossary terms from course 2, module 4
- Exemplar: Work with log files
1
Quiz
- Working with log files
Simple Tests
1
Assignment
- Practice Quiz: Simple Tests
3
Videos
- Intro to Module 5: Testing in Python
- What is testing?
- Manual Testing and Automated Testing
Unit Tests
1
Labs
- Practice Notebook: Unit Tests and Edge Cases
4
Videos
- Unit Tests
- Writing Unit Tests in Python
- Edge Cases
- Additional Test Cases
9
Readings
- unittest
- pytest
- Comparing unittest and pytest
- Review: Unit tests
- Review: Writing unit tests in python
- Review: Edge cases
- Review: Additional test cases
- Study guide: Unit tests
- Help with Jupyter Notebooks
Other Test Concepts
1
Assignment
- Practice Quiz: Other Test Concepts
3
Videos
- Black Box vs. White Box
- Other Test Types
- Test-Driven Development
1
Readings
- More About Tests
Errors and Exceptions
1
Labs
- Errors & Exceptions: Practice Notebook
3
Videos
- The Try-Except Construct
- Raising Errors
- Testing for Expected Errors
4
Readings
- Review: The Try-Except concept
- Review: Raising errors
- Review: Testing for expected errors
- Study guide: Handling errors
Module Review
1
External Tool
- Qwiklabs assessment: Implementing unit testing
1
Videos
- Module 5 Wrap Up: Testing in Python
2
Readings
- Glossary terms from course 2, module 5
- Exemplar: Implementing unit testing
1
Quiz
- Implement unit testing
Interacting with the Command Line Shell
1
Assignment
- Practice Quiz: Interacting with the Command Line
5
Videos
- Intro to Module 6: Bash Scripting
- Basic Linux Commands
- Redirecting Streams
- Pipes and Pipelines
- Signaling Processes
6
Readings
- Review: Basic Linux commands
- Review: Redirecting streams
- Review: Pipes and pipelines
- Review: Signaling processes
- Study guide: Basic Linux commands
- Redirections, Pipes, and Signals
Bash Scripting
1
Assignment
- Practice Quiz: Bash Scripting
3
Videos
- Creating Bash Scripts
- Using Variables and Globs
- Conditional Execution in Bash
4
Readings
- Review: Creating Bash scripts
- Review: Using variables and globs
- Review: Conditional execution in Bash
- Bash Scripting Resources
Advanced Bash Concepts
1
Assignment
- Practice Quiz: Advanced Bash Concepts
4
Videos
- While Loops in Bash Scripts
- For Loops in Bash Scripts
- Advanced Command Interaction
- Choosing Between Bash and Python
4
Readings
- Review: While loops in Bash scripts
- Review: For loops in bash scripts
- Review: Advanced Command Interaction
- Review: Choosing between Bash and Python
Module Review
1
External Tool
- Qwiklabs assessment: Edit files using substrings
1
Videos
- Module 6 Wrap Up: Bash Scripting
3
Readings
- Glossary terms from course 2, module 6
- Exemplar: Edit files using substrings
- IT skills in action reading
1
Quiz
- Edit files using substrings
Getting Ready for the Final Project
1
External Tool
- Qwiklabs Assessment: Log analysis using regular expressions
4
Videos
- Intro to Your Final Project
- Writing a Script from the Ground Up
- Project Problem Statement
- Help with Research and Planning
1
Readings
- Exemplar: Log analysis using regular expressions
1
Quiz
- Log analysis using regular expressions
Job Searching and Professional Networking
1
Videos
- What is your career identity?
4
Readings
- Build a Job Search Plan
- Personal Branding
- Get Started with LinkedIn
- Recruiters, Headhunters, and Staffing Agencies
Course Wrap-Up
2
Videos
- Congratulations!
- Sneak Peek of the Next Course
2
Readings
- Reflect and connect with your peers
- Course 2 glossary
Auto Summary
This foundational IT & Computer Science course by Coursera, "Using Python to Interact with the Operating System," teaches file manipulation, regular expressions, Linux command line, and Bash scripting. Over 1560 minutes, learners will gain practical skills in Python, subprocesses, and automatic testing, ideal for IT specialists. Starter subscription available.

Google Career Certificates