Downloads
Zip file of all files in the book.
cat.png (Chapter 2, Pygame Basics)
beep1.ogg (Chapter 5, Simulate)
beep2.ogg (Chapter 5, Simulate)
beep3.ogg (Chapter 5, Simulate)
beep4.ogg (Chapter 5, Simulate)
tetrisb.mid (Chapter 7, Tetromino)
tetrisc.mid (Chapter 7, Tetromino)
gameicon.png (Chapter 8, Squirrel Eat Squirrel)
squirrel.png (Chapter 8, Squirrel Eat Squirrel)
grass1.png (Chapter 8, Squirrel Eat Squirrel)
grass2.png (Chapter 8, Squirrel Eat Squirrel)
grass3.png (Chapter 8, Squirrel Eat Squirrel)
grass4.png (Chapter 8, Squirrel Eat Squirrel)
RedSelector.png (Chapter 9, Star Pusher)
Selector.png (Chapter 9, Star Pusher)
Star.png (Chapter 9, Star Pusher)
Wall_Block_Tall.png (Chapter 9, Star Pusher)
Wood_Block_Tall.png (Chapter 9, Star Pusher)
Plain_Block.png (Chapter 9, Star Pusher)
Grass_Block.png (Chapter 9, Star Pusher)
star_title.png (Chapter 9, Star Pusher)
star_solved.png (Chapter 9, Star Pusher)
princess.png (Chapter 9, Star Pusher)
boy.png (Chapter 9, Star Pusher)
catgirl.png (Chapter 9, Star Pusher)
horngirl.png (Chapter 9, Star Pusher)
pinkgirl.png (Chapter 9, Star Pusher)
Rock.png (Chapter 9, Star Pusher)
Tree_Short.png (Chapter 9, Star Pusher)
Tree_Tall.png (Chapter 9, Star Pusher)
Tree_Ugly.png (Chapter 9, Star Pusher)
flippyboard.png (Chapter 10, Four Extra Games)
flippybackground.png (Chapter 10, Four Extra Games)
inkspilllogo.png (Chapter 10, Four Extra Games)
inkspillspot.png (Chapter 10, Four Extra Games)
inkspillsettings.png (Chapter 10, Four Extra Games)
inkspillsettingsbutton.png (Chapter 10, Four Extra Games)
inkspillresetbutton.png (Chapter 10, Four Extra Games)
4row_red.png (Chapter 10, Four Extra Games)
4row_black.png (Chapter 10, Four Extra Games)
4row_board.png (Chapter 10, Four Extra Games)
4row_humanwinner.png (Chapter 10, Four Extra Games)
4row_computerwinner.png (Chapter 10, Four Extra Games)
4row_tie.png (Chapter 10, Four Extra Games)
4row_arrow.png (Chapter 10, Four Extra Games)
gem1.png (Chapter 10, Four Extra Games)
gem2.png (Chapter 10, Four Extra Games)
gem3.png (Chapter 10, Four Extra Games)
gem4.png (Chapter 10, Four Extra Games)
gem5.png (Chapter 10, Four Extra Games)
gem6.png (Chapter 10, Four Extra Games)
gem7.png (Chapter 10, Four Extra Games)
badswap.wav (Chapter 10, Four Extra Games)
match0.wav (Chapter 10, Four Extra Games)
match1.wav (Chapter 10, Four Extra Games)
match2.wav (Chapter 10, Four Extra Games)
match3.wav (Chapter 10, Four Extra Games)
match4.wav (Chapter 10, Four Extra Games)
match5.wav (Chapter 10, Four Extra Games)
Copy and Paste
You can also select the text of the source code below, and copy & paste the code into IDLE.
(Click on the text field, then press Ctrl-C to copy.)