Cookie policy

Last updated 18 November 2026

Cookies and similar storage are small pieces of data a website keeps in your browser. We use the ones the site needs to work, and we ask before any advertising cookies are used. You can change your choice at any time with Cookie settings at the bottom of every page.

Strictly necessary (always on)

NameTypeWhat it doesHow long
cp_sCookieKeeps you signed in. Only set when you sign in.30 days after you last use the site
cp.v1Browser storageYour progress, reading settings, theme and code drafts on this device.Until you clear it or sign out
cp.consentBrowser storageRemembers your cookie choice.Until you clear it
cp.ann.*Browser storage (session)Remembers that you closed the message bar.Until you close the tab
Cloudflare TurnstileThird partyThe robot check on sign-up, sign-in, password reset, newsletter and contact forms.Only while you use the form

Advertising (off unless you allow it)

Google AdSense shows adverts that keep CodePython free. If you choose Accept all or switch Advertising on, Google and its partners may set cookies (for example __gads, __gpi and IDE) to show adverts based on your interests and to measure them. If you say no, we tell Google not to use advertising cookies; adverts you see are then not personalised. Google explains its cookies at policies.google.com/technologies/cookies.

Analytics

We do not use analytics cookies.

Changing your mind

Use Cookie settings at the bottom of any page, or clear this site's data in your browser settings. Clearing it also removes progress that is not saved to an account.