Question

Where are the Python bindings, or what is the current status of the Python bindings for GIO's GSocket and other lowlevel network support?

Was it helpful?

Solution

The Gnome documentation is known to be somewhat not up to date. One may endlessly say words like community, manpower, time, effort, et cetera.

The fact is that when you do

>>> import gio
>>> help(gio.Socket)

you will see that the class is there (and others too). That is just the doc missing its description.

I suggest in this case the best choice would be to rely on python's inline doc system.

OTHER TIPS

Gio is an API for GVFS.

Python bindings on an Ubuntu system can be installed like this:

sudo apt-get install python-gobject

Then, just

>>> import gio
>>> 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top