On 5 Maj, 16:29, globalrev <[EMAIL PROTECTED]> wrote: > On 5 Maj, 16:09, globalrev <[EMAIL PROTECTED]> wrote: > > > > > On 5 Maj, 14:17, "Wojciech Walczak" <[EMAIL PROTECTED]> > > wrote: > > > > 2008/5/5, globalrev <[EMAIL PROTECTED]>: > > > > > pygame.mixer.music.load('C:/Python25/myPrograms/pygameProgs/example1.mp3') > > > > Are you sure that: > > > > os.path.exists('C:/Python25/myPrograms/pygameProgs/example1.mp3') == True? > > > > Check it with python. > > > > -- > > > Regards, > > > Wojtek Walczakhttp://www.stud.umk.pl/~wojtekwa/ > > >>> import os > > >>> os.path.exists('C:/Python25/myPrograms/pygameProgs/dront.mp3') == True > > > False > > > but...it is there.... > > > >>> os.path.exists('C:\Python25\myPrograms\pygameProgs\dront.mp3') == True > > > False > > > does it matter if i use / or \? which si recommended? > > i can find .png image in the same folder and when i just change > filename from snake.png to example1.mp3 it is false. > > i renamed the file once, could that have anything to do with it?
\\ or \ or / all works. the title of the mp3 is a long number still. i mena if i go to properties the name is example1.mpg but the title if i go to details is stillt he old one. -- http://mail.python.org/mailman/listinfo/python-list