[Spambayes] how do I figure out what version I have?
Matt Fischer
tadowguy at gmail.com
Mon Oct 16 19:23:15 CEST 2006
Thanks, looks like its time to upgrade again.
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, skip at pobox.com <skip at pobox.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/spambayes/attachments/20061016/e40d460f/attachment.html
More information about the SpamBayes
mailing list