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
>>>> os.path.expanduser("~")
> '/home/peter'
>
> that will most likely differ from the one given above.
>
> Peter
thanks
--
http://mail.python.org/mailman/listinfo/python-list
- Re: where is os.path.expanduser? Peter Otten
- Re: where is os.path.expanduser? Kevin F
