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 lots of code exercises to practice Python coding.
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 it until you've gotten far enough in the class that you want to write some code.
Python tracks the types of all values at runtime and flags code that does not make sense as it runs. An excellent way to see how Python code works is to run the Python interpreter and type code right into it.
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-exercises.zip if you have not already (see the Set-Up page for details).
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 quotes, although single quotes are more commonly used.
An introduction to the characteristics of machine learning datasets, and how to prepare your data to ensure high-quality results when training and evaluating your model.
Python is very quick with this pattern, allowing you to make a little change and run the program to see how it works. Take advantage of that quick turnaround to build your program in little steps.
This page gives a basic introduction to regular expressions themselves sufficient for our Python exercises and shows how regular expressions work in Python. The Python "re" module provides regular expression support.
Esta é uma aula sem custo financeiro para pessoas com um pouco de experiência em programação que desejam aprender Python. A aula inclui materiais escritos, vídeos de palestra e muitos exercícios de código para praticar programação em Python.
Python Cloud Functions Cloud Pub/Sub Cloud Storage documentation "Python Powered" logo What you'll learn How to write an HTTP Cloud Function. How to write an HTTP Cloud Function which takes arguments. How to test an HTTP Cloud Function. How to run a local Python HTTP server to try the function. How to write an HTTP Cloud Function which returns ...