Standalone track

Python.

Scripts, data and automation. Real Python right in the browser.

Python is one of the most popular languages in the world. Its code reads almost like plain text, so it is a good way to start. Python is used for the server side of websites, data analysis, automating boring work and building bots.

  • 100 lessons
  • 20 modules
  • 6000 XP

Python is a standalone direction: it doesn’t depend on HTML, CSS or JavaScript.

Course illustration: Python

Why you need it.

Python reads almost like plain text, so it is convenient for learning to think like a programmer. It is also used in automation, data analysis, bots and server development, so the skill is useful far beyond websites.

Analogy

A Swiss army knife

A Swiss army knife has a blade, a screwdriver and scissors in one body. Python is similar: one language with many uses — from ten-line scripts to large systems.

What you will learn.

1

Write code with confidence

Output, variables, input, conditions, loops and working with strings.

2

Work with collections

Lists, tuples, sets, dictionaries, list comprehensions and sorting.

3

Write functions

Parameters, return, *args and **kwargs, lambda, recursion and functional style.

4

Handle errors

try/except, custom exceptions, assert and debugging.

5

Work with files and data

Reading and writing, JSON, CSV and the standard library: math, random, datetime, collections.

6

Apply OOP

Classes, inheritance, dataclass, iterators, generators and decorators.

What you will build.

Console game

A game loop, rules, points, levels and protection from invalid input.

Task manager

An app with a console menu that saves data to a JSON file.

Data analysis

You read a table, clean the data, calculate statistics and print a report.

All topics in order.

20 modules, 100 lessons. Lessons unlock one by one: the next one opens after you finish the current one. Completed lessons are marked with a check.

1First stepsWhat Python is and how to run your first code.5 lessons
300 XP
  1. What Python is and where it is used50 XP
  2. print: output to the screen50 XP
  3. Comments and errors: how to read messages50 XP
  4. Variables and names50 XP
  5. Practice: a business card in the console100 XP
2Data types and operatorsNumbers, strings, data input and logic.5 lessons
300 XP
  1. Numbers and arithmetic50 XP
  2. Strings and f-strings50 XP
  3. input and type conversion50 XP
  4. Boolean values and comparison50 XP
  5. Practice: a receipt calculator100 XP
3ConditionsThe program makes decisions.5 lessons
300 XP
  1. if and else50 XP
  2. elif: several options50 XP
  3. Logical operators: and, or, not50 XP
  4. Nested conditions, the ternary expression and match50 XP
  5. Practice: a plan selector100 XP
4LoopsRepeating actions without copying code.5 lessons
300 XP
  1. The while loop50 XP
  2. The for loop and range50 XP
  3. break, continue and else on loops50 XP
  4. Nested loops50 XP
  5. Practice: tables and shapes100 XP
5Strings in detailIndexes, slices, methods and templates.5 lessons
300 XP
  1. String indexes and slices50 XP
  2. String methods50 XP
  3. Formatting, split and join50 XP
  4. Regular expressions: basics50 XP
  5. Practice: text processing100 XP
6ListsOrdered collections that can be changed.5 lessons
300 XP
  1. Lists: creation and indexes50 XP
  2. List methods50 XP
  3. Slices and copying lists50 XP
  4. Iterating: enumerate and zip50 XP
  5. Practice: a shopping list100 XP
7Tuples, sets and dictionariesThe remaining built-in collections.5 lessons
300 XP
  1. Tuples and unpacking50 XP
  2. Sets50 XP
  3. Dictionaries: keys and values50 XP
  4. Dictionary methods and iteration50 XP
  5. Practice: a phone book100 XP
8Comprehensions and sortingShort and expressive ways to process data.5 lessons
300 XP
  1. List comprehensions50 XP
  2. Sorting: sorted, sort and key50 XP
  3. Nested data structures50 XP
  4. sum, min, max, any and all50 XP
  5. Practice: data processing100 XP
9FunctionsBlocks of code that can be used again and again.5 lessons
300 XP
  1. Declaring and calling functions50 XP
  2. Parameters and return50 XP
  3. Default values and named arguments50 XP
  4. *args and **kwargs50 XP
  5. Practice: a set of helper functions100 XP
10Scope and functional styleWhere variables live and how to pass functions as data.5 lessons
300 XP
  1. Local and global variables50 XP
  2. lambda functions50 XP
  3. map and filter50 XP
  4. Recursion50 XP
  5. Practice: processing data with functions100 XP
11ExceptionsWhat to do when something goes wrong.5 lessons
300 XP
  1. try and except50 XP
  2. else, finally and several excepts50 XP
  3. raise and custom exceptions50 XP
  4. Debugging: assert and finding errors50 XP
  5. Practice: reliable data input100 XP
12Modules and the standard libraryReady-made tools out of the box.5 lessons
300 XP
  1. import and modules50 XP
  2. math and random50 XP
  3. datetime: date and time50 XP
  4. collections and itertools50 XP
  5. Practice: mini-utilities100 XP
13Files and data formatsReading, writing, JSON and CSV.5 lessons
300 XP
  1. Reading and writing files50 XP
  2. with and working with paths50 XP
  3. JSON50 XP
  4. CSV50 XP
  5. Practice: a data store100 XP
14Classes and objectsYour own data types with behavior.5 lessons
300 XP
  1. A class and an object50 XP
  2. Methods and self50 XP
  3. __str__ and __repr__50 XP
  4. Class attributes and @property50 XP
  5. Practice: the “Bank account” class100 XP
15OOP in depthInheritance and special methods.5 lessons
300 XP
  1. Inheritance50 XP
  2. super and polymorphism50 XP
  3. Magic methods: comparison, addition, length50 XP
  4. dataclass50 XP
  5. Practice: a class hierarchy100 XP
16Advanced PythonTools that set a confident developer apart.5 lessons
300 XP
  1. Iterators50 XP
  2. Generators and yield50 XP
  3. Closures and decorators50 XP
  4. Context managers and type annotations50 XP
  5. Practice: your own decorator and generator100 XP
17Project 1: A console gameA game with input, rules and a score.5 lessons
300 XP
  1. Planning the game50 XP
  2. The game loop and input50 XP
  3. Rules, points and state50 XP
  4. Errors and edge cases50 XP
  5. Checking and polishing100 XP
18Project 2: A task managerAn app that stores data in a file.5 lessons
300 XP
  1. Planning the app50 XP
  2. Adding and showing tasks50 XP
  3. Marking, deleting and searching50 XP
  4. Saving to JSON50 XP
  5. Checking and polishing100 XP
19Project 3: Data analysisReading a table and calculating statistics.5 lessons
300 XP
  1. Planning the project50 XP
  2. Reading and cleaning data50 XP
  3. Grouping and counting50 XP
  4. Report and output formatting50 XP
  5. Checking and polishing100 XP
20The finaleCode quality, tools and the way forward.5 lessons
300 XP
  1. Testing code: assert and test functions50 XP
  2. Code style and PEP 850 XP
  3. pip and virtual environments50 XP
  4. What's next: web, data, bots and automation50 XP
  5. Final exam100 XP

Is this course right for you?

Who it suits

  • People who want to start with the friendliest language
  • People interested in data, bots and automation
  • People who want a second language after JavaScript

What you need to know and have

  • HTML, CSS and JavaScript are not needed for Python: it is a separate direction
  • “Programming Basics” is enough, or simply the desire to learn
  • Python runs in the browser (about 10 MB on first launch, internet required)

Every lesson is four steps.

Theory, questions, practice and a final task. The Nox-AI assistant is always nearby: it gives hints but doesn’t solve the task for you.

  1. 1Theory

    A short explanation with examples.

  2. 2Check yourself

    Questions to check understanding.

  3. 3Practice

    You write code — checking is instant.

  4. 4Challenge

    Lesson summary and XP points.

More about how a lesson works ›    What Nox-AI can do ›

What comes before and after.

← First

Programming Basics

A short overview: how code works and which direction to choose.

About the course →
Next →

Your own projects

After the course you are ready to build your own programs, keep a portfolio and choose advanced directions.

About the Python course.

Is this a continuation of JavaScript?

No. Python is a standalone direction. You can learn it instead of the web courses or alongside them.

Do I need to install Python?

No. The code is run by a real Python interpreter right in the browser. It is downloaded on first launch and then taken from the cache.

Can I work with files?

Yes, but the file system in the trainer is virtual: files live only while the program runs. That is enough for the course tasks.

Ready to start?

Open the course and complete the first lesson. Your progress is saved in your account.

Courses