Yeah, try this: >>> import urwid >>> urwid.__version__ '0.9.9'
The value was updated for 0.9.9.1 in this commit: https://excess.org/hg/urwid-0.9.9/rev/cbfd9024600e ~Andrew On 2010-01-25 08:25, Max E. Kuznecov wrote: > Is there any reliable way to check urwid version? > As 0.9.9 introduced few incompatibles I had to add some tests in code, > mainly based on hasattr function, also I've found a new urwid.Version > constant, can I rely on it in order to check version? > Thanks > > 2010/1/25 Ian Ward<[email protected]>: > >> Announcing Urwid 0.9.9.1 >> ------------------------ >> >> Urwid home page: >> http://excess.org/urwid/ >> >> Screen shots: >> http://excess.org/urwid/examples.html >> >> Tarball: >> http://excess.org/urwid/urwid-0.9.9.1.tar.gz >> >> >> About this release: >> =================== >> >> This maintenance release fixes a number of bugs including a backwards >> incompatibility introduced in the last release and a poor ListBox >> snapping behaviour. >> >> >> New in this release: >> ==================== >> >> * Fix for ListBox snapping to selectable widgets taller than the >> ListBox itself >> >> * raw_display switching to alternate buffer now works properly with >> Terminal.app >> >> * Fix for BoxAdapter backwards incompatibility introduced in 0.9.9 >> >> * Fix for a doctest failure under powerpc >> >> * Fix for systems with gpm_mev installed but not running gpm >> >> >> About Urwid >> =========== >> >> Urwid is a console UI library for Python. It features fluid interface >> resizing, UTF-8 support, multiple text layouts, simple attribute markup, >> powerful scrolling list boxes and flexible interface design. >> >> Urwid is released under the GNU LGPL. >> >> >> >> _______________________________________________ >> Urwid mailing list >> [email protected] >> http://lists.excess.org/mailman/listinfo/urwid >> >> > > > _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
