Cannot get email package to work
Heiko Wundram
heikowu at ceosg.de
Sun Sep 19 07:46:38 EDT 2004
Am Sonntag, 19. September 2004 00:12 schrieb Steve Holden:
> Under Windows Python 2.3.3 (#51, Dec 18 2003, 20:22:39), however, I see
>
> >>> fd=file("C:\\cygwin\\tmp\\test.eml")
> >>> msg =- email.message_from_file(fd)
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> AttributeError: Message instance has no attribute '__neg__'
---> Typo, should be msg = email.message_from_file(fd)
So, I guess it does work under windows. ;)
Heiko.
More information about the Python-list
mailing list