technifyed

Google via Coursera

Using Python to Interact with the Operating System

4.76,664 ratings at Coursera

Overview

This course is designed to explore how to execute Python locally and organize and use code across different Python files. Learners will learn how to read and write different types of files, use subprocesses and input streams, create Bash scripts, and use regular expressions. This course also covers automatic testing and explains how to set up a developer environment on a personal machine.

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 allows 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.

Syllabus 7

  1. Getting Your Python On 3 hours

    In this module, you’ll learn about the different types of operating systems, and how you can get your python code ready to interact with the operating system. We’ll learn about getting your environment set up and installing additional Python modules that will help you along the way. We’ll rundown i…

  2. Managing Files with Python 6 hours

    In this module, you’ll learn about reading and writing to files and the commands that will enable you to do this. We’ll learn the importance of managing files and how we can navigate through different directories. You’ll understand how to work with files and how there is a layer of abstraction betw…

  3. Regular Expressions 5 hours

    In this module, you’ll learn about what a regular expression is and why you would use one. We’ll dive into the basics of regular expressions and give examples of wildcards, repetition qualifiers, escapare characters, and more. Next up, we’ll explore advanced regular expressions and deep dive on rep…

  4. Managing Data and Processes 4.5 hours

    In this module, you’ll learn about reading and writing to data files based on an interaction with the user. Along the way, we’ll dive into standard streams, environment variables, and command line arguments. Next, we’ll jump into Python subprocesses, including system commands and how they can be us…

  5. Testing in Python 6.5 hours

    In this module, you’ll learn how to create tests in Python. We’ll cover what testing is all about and dive into the differences between manual versus automated testing. Next, we’ll explore what unit tests are intended to do and how to write them. Then, we’ll learn about other test concepts like bla…

  6. Bash Scripting 5 hours

    In this module, you’ll be exposed to what the Linux OS has to offer and you'll learn about Bash scripting. We’ll go over basic Linux commands and explore the many processes Linux has to offer, including a key concept called redirection. We’ll then deep dive into creating Bash scripts using variable…

  7. Final Project 3 hours

    In this module, you’ll put everything you’ve learned so far into action! You’ll apply your scripting knowledge to tackle a challenging final project: writing a script that scans for a specific error in the log files. You'll create a problem statement to understand the challenge, conduct some resear…

Skills you'll practise

Unit TestingComputer ProgrammingTest AutomationPython ProgrammingUnix

Advantages and disadvantages

Advantages

  • Structured courses with graded quizzes, assignments and deadlines you can reset.
  • A shareable certificate from the university or company when you pay.
  • Financial aid is often approved for students in India (apply 15 days before you need it).
  • From Google, a well-regarded name.
  • Rated 4.7 out of 5 by 6,664 learners.
  • Self-paced: start any time.
  • A clear syllabus (7 parts) you can see before you start.
  • Hands-on: you build or practise, not just watch.

Disadvantages

  • Paid after a 7-day free trial (Coursera Plus or per course).
  • Some courses can be audited for free, but graded work and certificates need payment.

Some points apply to every course of this kind; see how we rank.

This course is paid. Here is how to take it for free

  • Free trials: You can start a 7-day free trial for many individual courses, Specializations, or a Coursera Plus subscription to test full course features. Cancel before the seventh day if you do not want to be charged.
  • Financial aid: If you cannot afford the fee for a certificate, you can apply for financial aid through the link on the course home page by filling out an application about your background and goals.

Taught by

  • Google Career Certificates

Google is in Tier 2: excellent universities and the companies that build the technology of our institution ranking (88/100). They build what they teach.

Similar courses

Compare these

Massachusetts Institute of Technology · YouTube

MIT 6.01SC Introduction to EECS I

Instructor: Dennis Freeman, Kendra Pugh This course provides an integrated introduction to electrical engineering and computer science, including modern software engineering, linear systems analysis, electronic circuits, and decision-making. The lecture videos provide an overview of each topic, whi…

Free video27 videos, 17 hours

Stanford University · YouTube

Stanford CS336: Language Modeling from Scratch | Spring 2026

This course is designed to provide students with a comprehensive understanding of language models by walking them through the entire process of developing their own. Drawing inspiration from operating systems courses that create an entire operating system from scratch, we will lead students through…

Free video18 videos, 24 hours

Harvard University · edX

CS50's Introduction to Programming with Python

An introduction to programming using Python, a popular language for general-purpose programming, data science, web programming, and more.

Free to audit10 weeks, 3 - 6 hours per week

Harvard University · edX

Data Science: R Basics

4.4273 ratings

Build a foundation in R and learn how to wrangle, analyze, and visualize data.

Free to audit8 weeks, 2 - 3 hours per week

Harvard University · edX

CS50's Web Programming with Python and JavaScript

This course picks up where CS50 leaves off, diving more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap.

Free to audit12 weeks, 6 - 14 hours per week

Stanford University · edX

Databases: Relational Databases and SQL

4.547 ratings

This course is one of five self-paced courses on the topic of Databases, originating as one of Stanford's three inaugural massive open online courses released in the fall of 2011. The original "Databases" courses are now all available on edx.org. This course provides an introduction to relational d…

Free to audit2 weeks, 8 - 10 hours per week

Enter your email and the official page opens. Phone is optional.