[Spambayes] msg.get_content_type()?

Tim Stone - Four Stones Expressions tim at fourstonesExpressions.com
Fri Dec 6 16:59:13 2002


12/6/2002 10:54:49 AM, barry@python.org (Barry A. Warsaw) wrote:

>
>>>>>> "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

Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> import email
>>> email.__version__
'2.4.3'
>>> from email.Message import Message
>>> Message.get_content_type
<unbound method Message.get_content_type>
>>> email.__file__
'C:\\Program Files\\Python2.2\\lib\\email\\__init__.pyc'

- TimS
>
>_______________________________________________
>Spambayes mailing list
>Spambayes@python.org
>http://mail.python.org/mailman/listinfo/spambayes
>
>


c'est moi - TimS
www.fourstonesExpressions.com 





More information about the Spambayes mailing list