pynotify for python 3.1.. Help Please..

Jebagnana Das jebagnanadas at gmail.com
Fri Apr 2 13:44:41 CEST 2010


Thank you for your reply. Unfortunately pynotify is not available as a .py
file but as an .so (shared library) file. In both python 2.5 and 2.6
installations it can be found at
/var/lib/python-support/python2.x/gtk-2.0/pynotify/__init__.py ,
_pynotify.so.

          I think it was written in native c or c++ which is then converted
to a shared library to use with python.. Unless the source code in c is
available, we can't port it to python 3.. I can't find the authors name or
any license agreement there..
By luck if any of the authors of pynotify here please answer me..

         When will the .so for python3 will be released?

         or Is there any alternate way of achieving this??

Regards,
Jeba.

Xav : You can simply call me as jeba.


Hi Jebamnana,
>
> You'll probably have to copy the pynotify contents to the Python 3.1
> folder. (under Libs\site-packages). You should be able to find the folder in
> the Python 2.6 paths.
>
> Once you do that, you can try to use it. But I don't know if pynotify will
> be able to run with Python 3.1. For instance, you might have to look into
> the source code and make some changes.
>
> Better to consult with the author(s) of pynotify and consult them about the
> difficulty to port to Py3.
>
> Cheers,
> Xav
>
> Hello all,
>>
>>          I'm trying to display system notifications in ubuntu.. I've
>> tested pynotify in python 2.6 and it's working fine.. I want to know if i
>> can do the same with python 3? I tried but there is no module named pynotify
>> error is displayed.. Any of your help would be much appreciated..
>>
>>
>>
> Hi Jebamnana,
>>
>
> Jebagnana*
>
> Sorry.
>
> -Xav
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100402/d5f2900d/attachment.html>


More information about the Python-list mailing list