How to get the version of installed pynotify package?

Asked by Sarbeswar Meher

In my code, can you please write to get the version of installed pynotify?

try:
  import pynotify
except ImportError:
  print "Import failed"
else:
  version = pynotify.______ ???

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu notify-python Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try:

sudo apt-get install python-notify

Can you help with this problem?

Provide an answer of your own, or ask Sarbeswar Meher for more information if necessary.

To post a message you must log in.