Privacy Notice

Last updated 10 October 2026

PythonLessonLab provides free Python lessons at pythonlessonlab.com. This notice explains what happens to information when you use the site.

Learning data on your device

We save your edited lesson code and completed lessons in your browser's local storage so you can pick up where you left off. We also save your analytics choice, the time you made it, and the version of this notice. Code and progress remain on your device until you reset a lesson, clear this site's storage, or your browser removes them. Your analytics choice remains until you change it or clear this site's storage.

Python examples run in your browser. We do not send your editor code or console input to our servers to execute it. Avoid putting passwords or other sensitive information in practice code.

Optional Google Analytics

If you select Accept analytics, we load Google Analytics 4 to understand page visits and whether lessons are completed. Google may receive page addresses, a lesson identifier for completion events, approximate location, and browser or device information. Google Analytics may set first-party cookies such as _ga and _ga_* to distinguish visits. We do not intentionally send your code, console input or output, or quiz answers to Analytics. Advertising storage and personalization remain disabled, and we do not use Google AdSense.

The Analytics property's user-level and event-level data retention setting is two months. This setting does not limit standard aggregated reports; Google explains its retention controls.

If you reject analytics, we do not load the Google Analytics tag. You can change your choice anytime using in this page's footer. Withdrawing consent stops future Analytics collection; it cannot erase information already collected. We also attempt to remove the Analytics cookies accessible to this site when you withdraw consent. You can clear site cookies in your browser as well. Read how Google uses data from partner sites.

Python runtime and external services

When you press Run code, your browser downloads the Pyodide Python runtime from jsDelivr. This sends a normal network request, including your IP address, to that provider. Our YouTube links take you to YouTube only if you click them. Videos are not currently embedded on this site. See Google's privacy policy.

The hosting and security infrastructure receives ordinary connection information to deliver and protect the site. Cloudflare may set a necessary security cookie called __cf_bm; Cloudflare explains its cookies here.

Your choices and questions

You can use all lessons without accepting Analytics. Your browser settings can clear saved lesson progress, code, consent choice, and cookies. For privacy questions or requests, email pythonlessonlab@gmail.com.