Sorry, the BASE variable should be 'C:\\' on Windows:

>>> BASE = 'C:\\'
>>> import os
>>> os.path.join(BASE, 'foo', 'bar', 'baz')
'C:\\foo\\bar\\baz'

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to