(Nov-22-2023, 12:22 PM)menator01 Wrote: This worked for me
- python3 -m pip install pgzero
- created blank file intro.py
- created a function called draw
- ran from terminal pgzrun intro.py
def draw(): screen.draw.text('Hello World!', (120,120), color='orange', fontsize=48)Using IDLE or other IDEs
import pgzrun def draw(): screen.draw.text('Hello World!', (120,120), color='orange', fontsize=48) pgzrun.go()Output:
I can recreate your file too now, with IDLE. So I guess I can at least continue with the book, though there's an instruction there that somehow just doesn't work for me. Maybe I'll understand what's wrong some day.
Thank you very much for your time
