WillPy
William’s Python Handbook
Hi, I’m William. This is my own Python reference handbook — the place I look things up while I build my creature evolution simulator in pygame.
What’s inside
- The building blocks: printing, variables, constants, f-strings
- Making choices with
if/elif/else - Lists and dictionaries — storing lots of things
- Loops — doing things over and over
- Randomness — the spark that makes evolution interesting
- Functions — little machines you build once and reuse
- Handling errors without panicking
- Classes and objects — the blueprint behind every creature
- pygame basics — a window, some shapes, and things that move
- A one-page cheat sheet for quick lookups
Built by Dad so it’s always here when I need it.