[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Help with the 3rd Lecture, first tutorial



I don't understand the format of your email. Can you perhaps write it in a different fashion.

I'm completely lost.

On 10/31/07, Lukasz < seem@xxxxxxxxx> wrote:

kevin hayes pisze:
> I cannot load the chimp.bmp, and I cannot put a caption on the pygame window
> while in the interpreter.
>
> I know the path to chimp.bmp, but when I follow the directions in the
> tutorial, it won't load.

just start interpreter "in" directory with files:

> c:
> cd chimp
> python                  (and then)
>>> import pygame


for example:

> d:
> dir
files    (this is directory)
> python
>>> file = open("file.txt")
>>> Traceback (etc...)
>>> [ctrl+d]
> cd files
> dir
file.txt
> python
>>> file = open("file.txt")    (and it work!)
>>>