Is this possible ....
stef.mientki at gmail.com
Wed Jul 23 12:35:54 CEST 2008
your solution works very well.
Paul Hankin wrote:
> On Jul 23, 9:58 am, Stef Mientki <stef.mien... at gmail.com> wrote:
> You could use version(<module>) instead of module.version(), and just
> declare 'version' in one place. Presumably you already have a module
> for getting the metadata out of one of your modules; perhaps it could
> go in there?
> def version(module):
> return getattr(module, 'Version_Text')
> Paul Hankin
More information about the Python-list