File Handling Problems Python I/O
mhartl at post.harvard.edu
mhartl at post.harvard.edu
Thu Jan 6 15:40:49 EST 2005
Sorry, the BASE variable should be 'C:\\' on Windows:
>>> BASE = 'C:\\'
>>> import os
>>> os.path.join(BASE, 'foo', 'bar', 'baz')
'C:\\foo\\bar\\baz'
More information about the Python-list
mailing list