> 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
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to