Terms of use

You may use the lessons, examples and code on this site freely for learning, at work and in your own projects. Code examples may be copied without credit.

The text of the pages may not be republished as a whole on another site.

We check our examples carefully, but the site is provided as it is, without warranty. Test code before you rely on it.

“Python” is a registered trademark of the Python Software Foundation, used here to describe the subject of the site. We are not affiliated with the Python Software Foundation.

Spotted a mistake on this page? Tell us