checking suds version in python

how to check the version of suds installed in python, i look over in the net but i cannot find one.

i try this one. in running python manage.py shell

>>> import suds
>>> suds

but i got the python version on running it.

<module 'suds' from '/usr/local/lib/python2.7/dist-packages/suds/__init__.pyc'>

how can I check the suds version?

i try also suds version but i got this error

>>> import suds
>>> suds version
  File "<console>", line 1
    suds version
               ^
SyntaxError: invalid syntax

Answers


>>>> import suds
>>>> print suds.__version__
0.4.1

Tada.

Edit: A more generic question was asked about this, and here's a kind-of-hacky script that checks for common names for the version constant.


Need Your Help

Byte level length description

c protocols

I have a protocol that requires a length field up to 32-bits, and it must be

Javascript: Pasting text at caret in WYSIWYG editor

javascript jquery

I'm still learning the ropes when it comes to JavaScript and one of the issues which is causing me the most problems is understanding the caret position. Currently I'm writing a reference form for ...