mailbox.py - bug or my fault?
Klaus Meyer
km-news1 at onlinehome.de
Fri May 16 09:42:35 EDT 2003
> Change your "w" to "wb" and try again.
This does not help, but gave me the idea to try similar for the input file.
And so i found out that i also have to open the input file with "rb"!
fpi = open(r"C:\in.mbx", "rb")
fpo = open(r"C:\test.mbx", "wb")
Maybe the next Python doc about mailbox could mention this? Would save much
time.....
--
Gruß - regards Klaus :-)
More information about the Python-list
mailing list