where is os.path.expanduser?
neurogasm at gmail.com
Thu Mar 23 09:44:29 CET 2006
Peter Otten wrote:
> Kevin F wrote:
>> where is this code looking for the .imap file? I am on OSX and am not
>> sure where to put the file it is looking for.
>> f = open(os.path.expanduser('~/.imap'))
> Your interactive interpreter has the answer
>>>> import os
> that will most likely differ from the one given above.
More information about the Python-list