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

Re: [pygame] Problem copying then playing a wav file



Mark Reed wrote:

        self.snd = pygame.mixer.Sound(dirname+filename)
                                        ^^^^^^^^^^^^^^^^

Are you sure that dirname has a trailing path separator
at this point?

It might be safer to use os.path.join() here.

--
Greg