First site with Python

Old engraving: a reticulated python and another snake

A free learning site for people who have never programmed. You will learn the basics of Python, a simple programming language, and build your own website step by step.

I already know Python

Change the name and press “Run”
name = "Anna"
print("Hello,", name)

This is a real Python program. It runs right here and writes on this page.

No experience needed

13 lessons

Two women setting up the ENIAC computer at its cable panels, 1946

How it works

You start with one line of code and press a button. The first lessons run right in the browser, so there is nothing to install, and a mistake won't break anything. Then you find out how a website works inside: who receives your request, where the data lives and where the page comes from. After that you build your first website, a to-do list, following ready-made instructions, and put it online. The whole course is free. It was made by a student of North Kazakhstan University.

Five steps to your own website

0 of 5 steps done. Your ticks are saved in this browser.

13 lessons

Learn the basics of Python

How to store data, set conditions and write your own commands. From-scratch lessons.

8 steps

Understand how a website works

What happens between clicking a link and seeing the page. Step-by-step walkthrough.

1 quiz

Pick a tool

Two tools suit a first site: Flask and Django. A mini quiz will suggest which one to choose.

1 section

Teach your site to remember

Records are kept in a database, so they don't disappear.

6 steps

Build your own site

A simple first project with ready-made instructions. Later you can put it online.

What you can build

Link shortener

A long link turns into a short one. Simple logic and a database.

An idea to try on your own

Portfolio

A personal site with your projects, contacts and a good-looking presentation.

An idea to try on your own

Frequently asked questions

I have never programmed. Can I do it?

Yes. Start with the from-scratch lessons: they need no experience and nothing to install.

Is it paid?

No, the whole site is free.

Do I need to learn Django and Flask at once?

No. It's better to pick one framework, build a simple project with it and only then compare it with the other one.

Can I build websites without a database?

Yes, but most real projects store users, products or content, so a database soon becomes necessary.

What matters more: theory or practice?

Practice. Theory helps you understand what is going on, but the skill only comes from writing code and working through your mistakes.

Sources

The material is checked against the official documentation. Checked on .

Start now

Old engraving: three snakes from the same sheet

No sign-up needed, and the first lesson takes a few minutes.

The first lesson is already open
print("Hello!")
print("This is my first program")
Open the first lesson