I was just having the same problem. trying to figure out the same tutorial
The way I fixed it.
- Put you images in C:\Python26\Lib\site-packages
This is where pygame is installed, and it didn't work until I put the images there.
- when declaring your variable for bif and mif, you should write like this;
bif = "C:/Python26/Lib/site-packages/bg.jpg"
with the full location of the image file. NOTICE that the slashes are forwards like so "/"
I tried it with single and double backslashes, like so "\", and "\", but neither worked.
Try all the different ways, and make sure everything is spelled correctly, and you images are where you said they are, and that you got the correct file name (.jpg, .JPG, or .jpeg) You can just look at the properties of the image file.