[Tutor] pygame1.py

Kent Johnson kent37 at tds.net
Fri Nov 14 21:12:03 CET 2008


On Fri, Nov 14, 2008 at 1:11 PM, Ifeozor, Humphrey O.
<Humphrey.Ifeozor at wlv.ac.uk> wrote:
> Dear Tutor,
>
> I have problem runing the attached pygame code, there's been error message
> "could not open ("ball.bmp")". what do i need to make it run as expected or
> how do i import the library which contains "ball.bmp"

Ball.bmp is an image file that it expects to find in the same
directory as the program. I guess you should get the image from the
same place you got the Python code.

Kent


More information about the Tutor mailing list