jezebel <10:22:34> ~>python
Python 2.3.5 (#2, Sep 4 2005, 22:01:42)
[GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import spambayes
>>> spambayes.__version__
'1.1a2'
May I suggest that we add this to the FAQ?
On 10/16/06,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Matt> .... I cannot figure out to tell what the overall version of
Matt> spambayes is. I see some versioning on individual scripts, but
Matt> not an overall one.
Matt> Is there a method to do this?
From the Python prompt:
% python
Python 2.6a0 (trunk:52218, Oct 7 2006, 07:08:10)
[GCC 4.0.0 (Apple Computer, Inc. build 5026)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import spambayes
>>> spambayes.__version__
'1.1a3'
Should work for all platforms.
Skip
_______________________________________________ [email protected] http://mail.python.org/mailman/listinfo/spambayes Check the FAQ before asking: http://spambayes.sf.net/faq.html
