Skip to content

Releases

Pyviel 1.2.1

Choose a tag to compare

@scadavide55 scadavide55 released this 21 Oct 22:10

The tutorials check real learning, and give much more practice.

  • A task checks the idea, not only the text. Python reads the student's program and says what it really uses (a loop, a function, +=...); words in quotes and comments never count. Printing the expected text no longer passes 55 tasks that teach something else; the message says what is missing ("this task asks you to use a for loop"). The build tries that shortcut on every task and fails when it passes.
  • "Think first" is a real question in 172 steps: three possible results, one right, the other two mistakes a beginner really makes (2 + 3 shown as text, the quotes printed too, a number one off). It never blocks.
  • A question on the lesson before opens every lesson from the second one: "Remember?".
  • 11 "find the mistake" steps in lessons 3 to 20: mismatched quotes, x for times, text plus a number, 4 times 2 is 44, = in an if, a missing colon, a line not pushed in, add on a list, changing a letter of a text, a missing key, a function without return.
  • 17 more challenges, in lessons 21 to 40 (function options, scope, recursion, comprehensions, modules, statistics, dates, files, errors, JSON, regular expressions, classes, inheritance, special methods, dataclasses, generators, decorators). The course has 349 steps.
  • No more "Show a solution": the student works the answer out, with the hint as help. The solutions are not even in the files the page loads.
  • Lessons read and lessons solved are counted apart, and a lesson shows how many of its tasks are solved.
  • On a phone, a Check button sits next to Run while a task is open.
  • Plain sentences for four more errors, in three languages: JSONDecodeError, PatternError (the regular expression is broken), IsADirectoryError and UnicodeDecodeError.
  • Screen readers hear what the program printed, and each problem, when a run ends.
  • Hints point the way, never the line to type: 170 hints held a line of the solution and were rewritten. The build now fails when a hint holds a line of the solution, or when copying the step's program already solves its task (8 tasks fixed, 2 had a hidden requirement).
  • An answer that is almost right says what differs: capital letters, spaces, punctuation, quotes shown, 4.0 instead of 4, lines in another order. After two wrong checks the page offers the hint and the example, never the answer.
  • Think first explains a wrong pick: the wrong answers come from real beginner mistakes (the quotes shown, the name of a box instead of its value, + adding a space...) and the page says what each one gets wrong.
  • Remember? asks a second question from four lessons back, from lesson 6.
  • 9 more challenges (lessons 41 to 49): every lesson from 1 to 49 ends with a program written from an empty page. The course has 358 steps.
  • A task that asks questions says which answers the check will type.
  • Fixed: a check of a program with a loop that never ends stayed on "Checking..." for ever; now it stops after 8 seconds, with a Stop button and a sentence about while. Run waits while a check uses Python. On a phone the verdict scrolls into view, with a way back to the editor.

Note: in lessons 3 to 20 a new step was added before the challenge, so a challenge solved in 1.2.0 may show as not solved.

Pyviel 1.2.0

Choose a tag to compare

@scadavide55 scadavide55 released this 21 Oct 11:50

The first stable version of Pyviel.

What is new

  • Lessons in three phases: Learn (the idea, the new words, every line explained), Try it (guess, then run) and Your turn (a task that is checked). The task's starting code goes into the editor by itself.
  • Much more practice: lessons 1 to 20 end with a challenge, written from an empty page. Hints guide you instead of giving the answer away, and a wrong answer shows the first line that differs. 58 lessons, 321 steps.
  • 37 example programs (games, maths, text, drawings, data, objects, small tools), in English, Italian and French, with search. A click opens an example and runs it.
  • A better editor: Cmd/Ctrl+Z undoes everything, Enter indents after : and steps back after return.
  • Faster and sturdier website: it loads only the course in your language, and Python starts even in windows that block service workers.
  • The app window opens where you left it, and the lessons panel comes back as you left it.

Download

Your computer File
macOS, Apple silicon (M1 and later) Pyviel-1.2.0-arm64.dmg
macOS, Intel Pyviel-1.2.0-x64.dmg
Windows 10 and 11 Pyviel-1.2.0-setup.exe
Linux (64-bit) Pyviel-1.2.0-linux-x64.tar.gz

App or website?

  • The desktop app runs your programs with a real Python 3.14 on your computer: normal speed, real files, threads and subprocess, works offline. It has six themes and a Command button that shows how to run your program from a terminal.
  • The website (marked Web) is the demo: the same course and examples, with Python running inside the browser (Pyodide). Nothing to install, but it is slower and some things a real computer can do are not available.

The app is not signed with a paid certificate: on macOS, the first time, right-click the app and choose Open; on Windows, choose More info → Run anyway.

Full list of changes: CHANGELOG.md

Pyviel 1.1 beta

Choose a tag to compare

@scadavide55 scadavide55 released this 21 Oct 01:00

Optimized, corrected, and with better tutorials.

Pyviel 1.0 beta

Pyviel 1.0 beta Pre-release
Pre-release

Choose a tag to compare

@scadavide55 scadavide55 released this 20 Oct 16:51

The first public version of Pyviel: learn real Python in small steps, every line explained, errors in plain words, in English, Italian and French. 57 lessons and 272 steps.

Which file do I download?

System File
Mac with Apple silicon (M1 and later) Pyviel-1.0.0-beta-arm64.dmg
Mac with an Intel chip (macOS 27 or earlier) Pyviel-1.0.0-beta-x64.dmg
Windows 10 and 11 Pyviel-1.0.0-beta-setup.exe
Linux, 64-bit Pyviel-1.0.0-beta-linux-x64.tar.gz

The installers are not signed, so the system warns the first time: on macOS right-click Pyviel and choose Open; on Windows press More info, then Run anyway.

Desktop app and website: what is different

Website (demo) Desktop app
Course and lessons all 57 lessons the same
Where Python runs in the browser (Pyodide, Python 3.14.2) a real Python 3.14.8 inside the app
Speed slower normal Python speed
threading, subprocess, os.system not available work
Files only while the page is open real files in Documents/Pyviel
Themes light and dark six: Cream, Night, Midnight, Forest, Sunset, High contrast
Command button (shows python3 file.py) no yes
Install none 120 to 150 MB download

The website: https://scadavide55.github.io/Pyviel/

What is in this version

  • A course from print to classes, generators, decorators and async, five complete programs, a cheat sheet, and an appendix on running Python from a terminal (python3 file.py, sys.argv, argparse, pip, virtual environments, tracebacks).
  • Every step shows the program, a note beside every line, what you will see (the real output) and a small job to try.
  • Errors explained in plain words, with the line, in three languages, and a View full error button for the real Python message.

Known limits

  • It is a beta: no beginner has tried the lessons yet, and the French texts have not been read by native speakers.
  • The Windows, Linux and Intel Mac installers were built but not launched on those systems.