On Fri, Aug 21, 2009 at 08:41:17AM +0200, Simon Cross wrote:
> On Fri, Aug 21, 2009 at 1:18 AM, Aaron
> Robinson<[email protected]> wrote:
> > As SQLObject doesn't appear to define a
> > "__version__", how does one tell which version one is using??
>
> Maybe try looking at the built-in documentation? The docstring for the
> module contains the version number (at least in version 0.10.2).
>
> Something like:
>
> pydoc sqlobject
>
> or
>
> python -c "import sqlobject; print sqlobject.__doc__"
>
> should display it for you.
sqlobject.__doc__ can even be used programmatically.
Adding a kind of __version__ is in my TODO, not at the very top, but is
planned for near future, probably for the next major release.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss