Re: [SQLObject] Which version am I using?
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2009-08-21 10:07:31
|
On Fri, Aug 21, 2009 at 08:41:17AM +0200, Simon Cross wrote: > On Fri, Aug 21, 2009 at 1:18 AM, Aaron > Robinson<aar...@mo...> 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/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |