Google's Python Class
“Google’s Python Class” is a comprehensive resource that provides structured lessons and exercises for learning Python programming. The class covers fundamental Python concepts, data structures, and problem-solving techniques. It includes hands-on coding exercises to reinforce learning and practical application. The content is designed to be beginner-friendly, making it accessible for individuals new to programming or Python specifically. With a focus on practical examples and real-world applications, “Google’s Python Class” aims to equip learners with the skills and knowledge needed to start programming in Python effectively.
Python Introduction
Prelude Welcome to Google's Python online tutorial. It is based on the introductory Python course offered internally. Originally created during the Python 2.4 days, we've tried to keep the content un...
📚 Read more at Google's Python Class🔎 Find similar documents
Python Set Up
This page explains how to set up Python on a machine so you can run and edit Python programs, and links to the exercise code to download. You can do this before starting the class, or you can leave i...
📚 Read more at Google's Python Class🔎 Find similar documents
Python Strings
Python has a built-in string class named "str" with many handy features (there is an older module named "string" which you should not use). String literals can be enclosed by either double or single ...
📚 Read more at Google's Python Class🔎 Find similar documents
Google's Python Class
Welcome to Google's Python Class -- this is a free class for people with a little bit of programming experience who want to learn Python. The class includes written materials, lecture videos, and lot...
📚 Read more at Google's Python Class🔎 Find similar documents
Python Lists
Python has a great built-in list type named "list". List literals are written within square brackets [ ]. Lists work similarly to strings -- use the len() function and square brackets [ ] to access d...
📚 Read more at Google's Python Class🔎 Find similar documents
Python Dict and File
Dict Hash Table Python's efficient key/value hash table structure is called a "dict". The contents of a dict can be written as a series of key:value pairs within braces { }, e.g. dict = {key1:value1,...
📚 Read more at Google's Python Class🔎 Find similar documents
Python Regular Expressions
Regular expressions are a powerful language for matching text patterns. This page gives a basic introduction to regular expressions themselves sufficient for our Python exercises and shows how regula...
📚 Read more at Google's Python Class🔎 Find similar documents
Baby Names Python Exercise
The Social Security administration has this neat data by year of what names are most popular for babies born that year in the USA (see social security baby names ). The files for this exercise are in...
📚 Read more at Google's Python Class🔎 Find similar documents
Python Sorting
The easiest way to sort is with the sorted(list) function, which takes a list and returns a new list with those elements in sorted order. The original list is not changed. It's most common to pass a ...
📚 Read more at Google's Python Class🔎 Find similar documents
Python Utilities
In this section, we look at a few of Python's many standard utility modules to solve common problems. File System -- os, os.path, shutil The *os* and *os.path* modules include many functions to inter...
📚 Read more at Google's Python Class🔎 Find similar documents
Basic Python Exercises
There are 3 exercises that go with the first sections of Google's Python class. They are located in the "basic" directory within the google-python-exercises directory. Download the google-python-exer...
📚 Read more at Google's Python Class🔎 Find similar documents
Copy Special Python Exercise
The Copy Special exercise goes with the file-system and external commands material in the Python Utilities section. This exercise is in the "copyspecial" directory within google-python-exercises (dow...
📚 Read more at Google's Python Class🔎 Find similar documents