Google

Google’s Python Class: Free Lessons and Exercises

Learn Python with Google’s free written lessons, lectures and exercises. Some prior coding knowledge helps; use updated Python 3 examples alongside older videos.

Google Python Class cover with a laptop, Python text, abstract code rows, document and circular scripting motif.

Build the confidence to turn small coding ideas into working Python scripts with Google’s Python Class. Its free lessons connect concise explanations with exercises, giving you a route from handling text and lists to programs that work with files and other utilities. If you have used another programming language and want to start writing useful Python, the class offers a practical place to begin.

You can follow the written material, watch the accompanying lectures and practise on your own computer. The emphasis is on using the language yourself: running a script, changing it, checking the result and understanding the next improvement. A little previous coding knowledge will make that progression easier.

Course at a glance

Provider Google
Platform Google for Developers
Level Beginner, with some prior programming knowledge
Language English
Format Written lessons, lecture videos and coding exercises
Study pace Self-paced; material originated in an intensive two-day class
Practice tools Free Python 3 installation and a free code editor
Recognition No completion certificate advertised on the inspected course pages

What you’ll learn

Use the explanations and exercises to develop a foundation for these tasks:

  • Run and organise Python code: work with the interactive interpreter, scripts, functions and command-line arguments.
  • Process text: use string operations, slicing and formatting to extract information and present results.
  • Work with collections: handle lists and dictionaries, iterate through values and sort information.
  • Read and write files: connect Python code to text stored outside the program.
  • Build practical scripts: progress toward exercises involving text files, processes and HTTP connections.

Skills you’ll gain

  • Python scripting
  • Text processing
  • Lists and dictionaries
  • File handling
  • Functions
  • Command-line workflows

From short examples to working scripts

The course begins with setup and an introduction, then moves through strings, lists and further topics. Written sections connect to exercises, so you can try a concept while it is still fresh. The lectures follow the same broad progression and offer another way to approach the explanations.

For a productive first session, run the supplied introductory script before changing it. Keep an untouched copy of the starter files, then make a small edit and check the output. That simple edit-and-run routine gives you a repeatable starting point when the later exercises become more involved.

As you work, identify the expected input and output before writing a solution. For a text task, try an ordinary example and an empty input. These optional checks make your practice more deliberate and help you distinguish a plausible-looking result from one that actually matches the task.

Use the Python 3 written examples

The written material covers Python 3, while the lecture videos were recorded before Python 3. Some code shown in the videos therefore needs updating. When a video example fails, compare it with the written lesson and setup instructions before assuming your installation is broken.

This is particularly useful when following older syntax such as a print statement without parentheses. Use the current written examples as your code reference. Keep a brief note of the difference you found, rather than repeatedly changing settings or copying an entire error screen into your notes.

Is this the right starting point?

The class expects familiarity with ideas such as a variable or an if statement. You do not need to be an expert, but complete beginners may prefer to study programming fundamentals first. If you already recognise those ideas, the lesson-and-exercise format can help you transfer them into Python.

The practical scripting focus suits learners who want to manipulate text, organise information or explore small automation tasks. Choose a modest personal extension after an exercise, such as summarising a fictional reading list. Keep the task narrow enough that you can explain every step; that extension is optional practice, rather than a Google assessment.

Free access and practice tools

The public class materials and exercise archive are free. Practice uses an ordinary local Python installation; Python is free and open source, and the setup instructions include free editor choices. You can follow this route without a cloud subscription or a paid development environment.

Download the exercises from the official setup page and follow the instructions for your operating system. This listing promises no completion certificate: the inspected class and setup pages do not advertise one. The main value is the opportunity to build and understand your own Python code.

Enroll Now

Frequently asked questions

Is Google’s Python Class completely free to study?

Yes. The learning materials and exercises are public, and you can practise locally using free Python and a free editor.

Can I take it without any coding experience?

The course expects a little programming experience, including familiarity with variables and conditional statements. Study those foundations first if they are new to you.

Should I copy code directly from the videos?

Use the Python 3 written examples as your reference. The older lectures contain some syntax that needs updating.

Share this course

Questions & discussion

Share a useful question or correction. Comments appear after moderation. Please avoid personal or sensitive information.

Add to the discussion

Your email address will not be published. Required fields are marked *