[Zope] checking Zope's version number

Hung Jung Lu hungjunglu@hotmail.com
Wed, 13 Sep 2000 05:08:35 PDT


>Use version_txt:
>
>   from App.version_txt import version_txt
>   version_string = version_txt()
>
>In CVS versions of Zope this will return '(unreleased version)' though.
>
>You could also test for the existence of registerHelp:
>
>   if hasattr(context, 'registerHelp'):
>       context.registerHelp()

Ahh... very cool. Thanks.

Hung Jung
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.