Privacy policy

Last updated 18 November 2026

Template. Replace every highlighted part with your own details and have this page checked before launch. This is a starting point, not legal advice. Delete this yellow box when you are done.

1. Who is responsible for your data

CodePython[ (or the registered company that operates it, with its address)] is the data controller. Contact ping@codepython.net with any question or to use your rights. [ICO registration number, if you have one.]

2. What we collect and why

  • Your account: email address, a securely scrambled (hashed) password, when you signed up and agreed to the terms, your confirmation that you are 13 or over (with a parent's or guardian's permission if under 18), and when you last signed in. Why: to give you an account. Lawful basis: contract.
  • Sign-in security: the IP address and browser type of each signed-in session, counts of wrong passwords and lock times (stored against a scrambled copy of the email address), and a robot check by Cloudflare Turnstile on forms. Why: to keep accounts safe. Lawful basis: legitimate interests.
  • Learning progress: rooms and homework finished, XP, streak, reading settings and the code you write in the labs. Why: so your progress follows you between devices. Lawful basis: contract.
  • Newsletter (optional): your email address, whether you confirmed, when, the wording you agreed to and the IP address used. Every email has an unsubscribe link. Lawful basis: consent.
  • Contact form: your name, email address, message and IP address. Why: to reply to you. Lawful basis: legitimate interests.
  • Adverts: see section 4.

Code you run in the labs runs in your own browser. We never see what you type until it is saved as part of your progress.

3. Who we share it with

  • Hostinger hosts the website, database and email [data centre location you chose, for example the UK or EU].
  • Cloudflare runs the Turnstile robot check, and serves some code libraries (cdnjs).
  • Google serves fonts (Google Fonts) and adverts (AdSense).
  • jsDelivr serves the Skulpt library that runs Python in your browser.

These services receive your IP address when your browser loads their files. Some are based outside the UK. Where that happens, they protect your data with safeguards approved under UK law, such as the UK International Data Transfer Addendum or adequacy regulations. We do not sell your data.

4. Adverts

CodePython is paid for by adverts from Google AdSense. Google's advert code loads on our pages. Until you choose Accept all in the cookie banner, we tell Google that advertising cookies and personalisation are not allowed, and Google says it then does not use cookies for advertising; it may still show adverts that are not personalised. If you accept, Google and its partners may use cookies to show adverts based on your visits to this and other websites, and to measure them. You can change your choice at any time with Cookie settings at the bottom of every page. See how Google uses information from sites that use its services.

5. Children

CodePython is designed for learners aged 13 and up. Learners under 18 should have a parent's or guardian's permission to create an account. We collect only what we need to run the course, switch privacy-protective settings on by default, and follow the ICO Age Appropriate Design Code. We ask Google not to show adverts in sensitive categories.

6. How long we keep it

  • Account and progress: while your account is open. Deleting your account (Account page) removes your account, progress and newsletter subscription straight away. [We may delete accounts that have not been used for 3 years, after emailing you first.]
  • Sign-in records: sessions end after 30 days without use; wrong-password counts reset after a day.
  • Newsletter: until you unsubscribe, plus a record of consent for [2 years].
  • Contact messages: [12 months].

7. Your rights

You can ask for a copy of your data, ask us to correct or delete it, ask us to limit how we use it, object to how we use it, or ask for it in a portable format. Where we rely on consent, you can withdraw it at any time. Email ping@codepython.net. You can also complain to the Information Commissioner's Office at ico.org.uk.

8. Cookies

See our cookie policy.

9. Changes

We will update this policy if what we do changes. The date at the top shows the latest version.