[Spambayes] msg.get_content_type()?

Barry A. Warsaw barry at python.org
Fri Dec 6 16:54:49 2002


>>>>> "RH" == Richie Hindle <richie@entrian.com> writes:

    RH> Any Python 2.2.x or 2.3 is fine, but you need version 2.4.3 or
    RH> better of the email package - you can get that from Python
    RH> 2.3, or download it from http://mimelib.sf.net.  No released
    RH> version of Python ships with it.

Wrong.

Python 2.2.2 (#1, Oct 15 2002, 12:24:47) 
[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-112)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import email
>>> email.__version__
'2.4.3'
>>> from email.Message import Message
>>> Message.get_content_type
<unbound method Message.get_content_type>
>>> email.__file__
'/usr/local/lib/python2.2/email/__init__.pyc'

-Barry



More information about the Spambayes mailing list