pygame music, cant read mp3?

Diez B. Roggisch deets at nospam.web.de
Mon May 5 11:25:14 EDT 2008


> directory = ['C:','Python25','myPrograms','pygameProgs','dront.mp3']
> os.path.join(directory)
> 
> Then python can worry about the gritty details, and you don't have to.

Or somewhat neater IMHO:

 
os.path.join('C:','Python25','myPrograms','pygameProgs','dront.mp3')

Diez



More information about the Python-list mailing list