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.
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 interpreted versus compiled language, and how they differ from each other. We’ll dive into the benefits of automation, and point out common pitfalls so you can avoid them. Finally, we’ll learn about Qwiklabs, which will be used for graded assessments.
涵盖的内容
15个视频6篇阅读材料4个作业
显示有关单元内容的信息
15个视频•总计74分钟
Course Introduction•6分钟
Intro to Module 1: Getting Your Python On•2分钟
Getting Familiar with the Operating System•6分钟
Getting Your Computer Ready for Python•4分钟
Setting up Your Environment on Windows (Optional)•4分钟
Setting up Your Environment on MacOS (Optional)•5分钟
Setting up Your Environment on Linux (Optional)•9分钟
Interpreted vs. Compiled Languages•3分钟
How to Run a Python Script•6分钟
Your Own Python Modules•5分钟
What is an IDE?•5分钟
Benefits of Automation•4分钟
Pitfalls of Automation•6分钟
Practical Automation Example•7分钟
Module 1 Wrap Up: Getting Your Python On•1分钟
6篇阅读材料•总计24分钟
Welcome to the course•4分钟
Pointers for Getting Your Environment Setup•4分钟
Setting up Your Environment•4分钟
Virtual environments•4分钟
Is it worth the time?•4分钟
Glossary terms from Course 2, Module 1•4分钟
4个作业•总计80分钟
Module 1 challenge: Getting your Python on•50分钟
Test your knowledge: Getting ready for Python•10分钟
Test your knowledge: Running Python locally•10分钟
Test your knowledge: Automation•10分钟
Managing Files with Python
第 2 单元•小时 后完成
单元详情
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 between Python and the operating system. Finally, we’ll dive into learning about CSV files and how to best utilize them.
涵盖的内容
15个视频16篇阅读材料4个作业1个应用程序项目1个非评分实验室
显示有关单元内容的信息
15个视频•总计60分钟
Programming with Files•3分钟
Reading Files•6分钟
Iterating through Files•5分钟
Writing Files•4分钟
File paths•4分钟
How to write file paths in code•5分钟
Working with Files•4分钟
More File Information•4分钟
Directories•6分钟
What is a CSV file?•3分钟
Reading CSV Files•4分钟
Generating CSV•3分钟
Reading and writing CSV Files with Dictionaries•4分钟
What is Qwiklabs?•4分钟
Module 2 Wrap Up: Managing Files with Python•2分钟
16篇阅读材料•总计74分钟
Review: Reading files•4分钟
Review: Iterating through files•4分钟
Review: Writing files•4分钟
Study guide: Reading and writing files •4分钟
Review: How to write file paths in code•4分钟
Review: Working with files•4分钟
Review: More file information•4分钟
Review: Directories•4分钟
Study guide: Files and directories •4分钟
Review: Reading CSV files•4分钟
Review: Generating CSV•4分钟
Review: Reading and writing CSV files with dictionaries•4分钟
Study guide: .csv files•4分钟
Qwiklabs guidelines and troubleshooting steps•4分钟
Exemplar: Handling Files•8分钟
Glossary terms from course 2, module 2•10分钟
4个作业•总计80分钟
Module 2 challenge: Handling Files•50分钟
Test your knowledge: Writing file paths•10分钟
Test your knowledge: Managing files and directories•10分钟
Test your knowledge: Reading and writing CSV files•10分钟
1个应用程序项目•总计90分钟
Qwiklabs assessment: Handling files•90分钟
1个非评分实验室•总计60分钟
Practice Notebook: Text Files•60分钟
Regular Expressions
第 3 单元•小时 后完成
单元详情
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 repetition qualifiers. You’ll tackle new exercises like capturing groups and extracting PIDs using regexes. Finally, we’ll provide a study guide to serve as your go-to guide for regular expressions.
涵盖的内容
14个视频14篇阅读材料4个作业1个应用程序项目
显示有关单元内容的信息
14个视频•总计58分钟
Intro to Module 3: Regular Expressions•1分钟
What are regular expressions?•3分钟
Why use regular expressions?•3分钟
Basic Matching with grep•5分钟
Simple Matching in Python•5分钟
Wildcards and Character Classes•6分钟
Repetition Qualifiers•5分钟
Escaping Characters•4分钟
Regular Expressions in Action•5分钟
Capturing Groups•6分钟
More on Repetition Qualifiers•4分钟
Extracting a PID Using regexes in Python•5分钟
Splitting and Replacing•6分钟
Module 3 Wrap Up: Regular Expressions•1分钟
14篇阅读材料•总计60分钟
Review: Why use regular expressions?•4分钟
Review: Simple matching in Python•4分钟
Review: Wildcards and Character Classes•4分钟
Review: Repetition Qualifiers•4分钟
Review: Escaping Characters•4分钟
Review: Regular Expressions in Action•4分钟
Study guide: Regular expressions•4分钟
Review: Capturing Groups•4分钟
Review: More on repetition qualifiers•4分钟
Review: Extracting a PID using regexes in Python•4分钟
Review: Splitting and Replacing•4分钟
Study guide: Advanced regular expressions •4分钟
Glossary terms from course 2, module 3•4分钟
Exemplar: Work with regular expressions•8分钟
4个作业•总计80分钟
Module 3 challenge: Work with Regular Expressions•50分钟
Test your knowledge: Regular expressions•10分钟
Test your knowledge: Basic regular expressions•10分钟
Test your knowledge: Advanced regular expressions•10分钟
1个应用程序项目•总计90分钟
Qwiklabs assessment: Work with regular expressions•90分钟
Managing Data and Processes
第 4 单元•小时 后完成
单元详情
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 used. We’ll review how to obtain output from a system command, and dive into subprocess management, including how to check exit values and manipulate the normal versus error exit values. Finally, we’ll rundown processing log files, and will cover what a log file is, how to filter log files using regular expressions, and how to understand the output captured from log files.
涵盖的内容
12个视频13篇阅读材料4个作业1个应用程序项目
显示有关单元内容的信息
12个视频•总计47分钟
Intro to Module 4: Managing Data and Processes•2分钟
Reading data interactively•3分钟
Standard Streams•4分钟
Environment Variables•4分钟
Command-Line Arguments and Exit Status•6分钟
Running System Commands in Python•5分钟
Obtaining the Output of a System Command•5分钟
Advanced Subprocess Management•5分钟
What are log files?•2分钟
Filtering Log Files with Regular Expressions•5分钟
Making Sense out of the Data•4分钟
Module 4 Wrap Up: Managing Data and Processes•1分钟
13篇阅读材料•总计56分钟
Review: Reading data interactively•4分钟
Review: Standard streams•4分钟
Review: Environment variables•4分钟
Review: Command-Line Arguments and Exit Status•4分钟
More About Input Functions•4分钟
Review: Running system commands in Python•4分钟
Review: Obtaining the output of a system command•4分钟
Review: Advanced subprocess management•4分钟
Study guide: Python subprocesses•4分钟
Review: Filtering log files with regular expressions•4分钟
Review: Making sense out of the data•4分钟
Glossary terms from course 2, module 4•4分钟
Exemplar: Work with log files•8分钟
4个作业•总计80分钟
Module 4 challenge: Working with log files•50分钟
Test your knowledge: Data streams•10分钟
Test your knowledge: Python subprocesses•10分钟
Test your knowledge: Processing log files•10分钟
1个应用程序项目•总计90分钟
Qwiklabs assessment: Work with log files•90分钟
Testing in Python
第 5 单元•小时 后完成
单元详情
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 black box versus white box tests and how test-driven development can frame how you design and write your code. Finally, you’ll learn about errors and exceptions, and how to combat them.
涵盖的内容
14个视频16篇阅读材料3个作业1个应用程序项目2个非评分实验室
显示有关单元内容的信息
14个视频•总计48分钟
Intro to Module 5: Testing in Python•1分钟
What is testing?•2分钟
Manual Testing and Automated Testing•3分钟
Unit Tests•4分钟
Writing Unit Tests in Python•6分钟
Edge Cases•4分钟
Additional Test Cases•5分钟
Black Box vs. White Box•3分钟
Other Test Types•4分钟
Test-Driven Development•3分钟
The Try-Except Construct•3分钟
Raising Errors•7分钟
Testing for Expected Errors•2分钟
Module 5 Wrap Up: Testing in Python•1分钟
16篇阅读材料•总计72分钟
unittest•4分钟
pytest•4分钟
Comparing unittest and pytest•4分钟
Review: Unit tests•4分钟
Review: Writing unit tests in python•4分钟
Review: Edge cases•4分钟
Review: Additional test cases•4分钟
Study guide: Unit tests•4分钟
Help with Jupyter Notebooks•10分钟
More About Tests•4分钟
Review: The Try-Except concept•4分钟
Review: Raising errors•4分钟
Review: Testing for expected errors•4分钟
Study guide: Handling errors•4分钟
Glossary terms from course 2, module 5•2分钟
Exemplar: Implementing unit testing•8分钟
3个作业•总计70分钟
Module 5 challenge: Implementing Unit Testing•50分钟
Test your knowledge: Simple tests•10分钟
Test your knowledge: Other test concepts•10分钟
1个应用程序项目•总计90分钟
Qwiklabs assessment: Implementing unit testing•90分钟
2个非评分实验室•总计120分钟
Practice Notebook: Unit Tests and Edge Cases•60分钟
Errors & Exceptions: Practice Notebook•60分钟
Bash Scripting
第 6 单元•小时 后完成
单元详情
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 variables and globs. Finally, we’ll learn about advanced Bash concepts and develop an understanding of when to use Bash versus Python.
涵盖的内容
13个视频17篇阅读材料4个作业1个应用程序项目
显示有关单元内容的信息
13个视频•总计60分钟
Intro to Module 6: Bash Scripting•2分钟
Basic Linux Commands•7分钟
Redirecting Streams•5分钟
Pipes and Pipelines•6分钟
Signaling Processes•6分钟
Creating Bash Scripts•4分钟
Using Variables and Globs•5分钟
Conditional Execution in Bash•5分钟
While Loops in Bash Scripts•5分钟
For Loops in Bash Scripts•6分钟
Advanced Command Interaction•4分钟
Choosing Between Bash and Python•4分钟
Module 6 Wrap Up: Bash Scripting•2分钟
17篇阅读材料•总计70分钟
Review: Basic Linux commands•4分钟
Review: Redirecting streams•4分钟
Review: Pipes and pipelines•4分钟
Review: Signaling processes•4分钟
Study guide: Basic Linux commands•4分钟
Redirections, Pipes, and Signals•4分钟
Review: Creating Bash scripts•4分钟
Review: Using variables and globs•4分钟
Review: Conditional execution in Bash•4分钟
Bash Scripting Resources•2分钟
Review: While loops in Bash scripts•4分钟
Review: For loops in bash scripts•4分钟
Review: Advanced Command Interaction•4分钟
Review: Choosing between Bash and Python•4分钟
Glossary terms from course 2, module 6•4分钟
Exemplar: Edit files using substrings•8分钟
IT skills in action reading•4分钟
4个作业•总计80分钟
Module 6 challenge: Edit Files Using Substrings•50分钟
Test your knowledge: Interacting with the command line•10分钟
Test your knowledge: Bash scripting•10分钟
Test your knowledge: Advanced bash concepts•10分钟
1个应用程序项目•总计90分钟
Qwiklabs assessment: Edit files using substrings•90分钟
Final Project
第 7 单元•小时 后完成
单元详情
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 research to see what options are available, then begin planning how you intend to solve the problem. Lastly, you'll write the code to implement your solution!
涵盖的内容
6个视频3篇阅读材料1个作业1个应用程序项目
显示有关单元内容的信息
6个视频•总计13分钟
Intro to Your Final Project•1分钟
Writing a Script from the Ground Up•3分钟
Project Problem Statement•3分钟
Help with Research and Planning•2分钟
Congratulations!•2分钟
Sneak Peek of the Next Course•1分钟
3篇阅读材料•总计14分钟
Exemplar: Log analysis using regular expressions•8分钟
Reflect and connect with your peers•4分钟
Course 2 Glossary•2分钟
1个作业•总计50分钟
Module 7 challenge: Log Analysis Using Regular Expressions•50分钟
1个应用程序项目•总计90分钟
Qwiklabs Assessment: Log analysis using regular expressions•90分钟
Grow with Google is an initiative that draws on Google's decades-long history of building products, platforms, and services that help people and businesses grow. We aim to help everyone – those who make up the workforce of today and the students who will drive the workforce of tomorrow – access the best of Google’s training and tools to grow their skills, careers, and businesses.
the course is great, the material is great, the instructor is great, I love Roger because he teaches me in a very light way to deliver the content, plus I love his joke, thanks, Roger!
L
LA
5·
已于 Jul 8, 2020审阅
It is a wonderful course, I've learned a lot within the classes, and I am ready to use this knowledge to develop my own projects. It a little bit extensive, but to accomplish it is rewarding.
S
SP
5·
已于 Oct 15, 2021审阅
Perfect! Windows users might face some difficulties at start. I recommend everyone to install Ubuntu on VM. It will help you a lot. Thanks for sharing your valuable knowledge with us!!!
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Certificate?
When you enroll in the course, you get access to all of the courses in the Certificate, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.