Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Python for kids

  • mu-editor: education oriented editor / IDE that includes python3 and Pygame Zero
  • Thonny: Python IDE for beginners; includes Python3, has a Pygame Zero mode and plays well with venv and pip.
    • venv: tools > preferences > interpreter > alternative python 3 interpreter or virtual environment.
    • pgzero: run > Pygame zero mode.
    • has a debugger

Pygame Zero

Running Pygame Zero programs without mu-editor and without pgzrun:

import pgzrun

WIDTH = 640
HEIGHT = 480

def update(dt):
    pass

def draw():
    pass


pgzrun.go()