Active Topics

 


Reply
Thread Tools
Posts: 26 | Thanked: 3 times | Joined on May 2007
#1
Hi,

I am looking at writing an app in pygtk, the app will read data over usb and do some number crunching and write to screen.

I don't want to write it in C, hence planning on pygtk.

To get the data in I am thinking of making a 2 piece app, the display part a state machine that simply waits for messages and writes to screen, and a backend part that handles the usb connection, stores the data in sqlite, and uses dbus to send the data to the front end part.

I am having a real struggle finding any useful examples of IPC using Dbus Python

Pedro
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#2
Originally Posted by flyinghigh View Post
Hi,

I am having a real struggle finding any useful examples of IPC using Dbus Python

Pedro
Examples of:
  • conic_monitor.py
  • test_automatic_events.py
  • test_connect.py
  • test_disconnect.py
  • test_iap.py
  • test_proxies.py
  • test_statistics.py
  • test_two_objects.py

are here:
https://garage.maemo.org/svn/pymaemo...c/trunk/tests/

Introductory reading:
http://en.wikipedia.org/wiki/D-Bus
http://dbus.freedesktop.org/doc/dbus-tutorial.html
http://www.ibm.com/developerworks/li...ry/l-dbus.html
http://freshmeat.net/projects/python-ipc/
 
Posts: 26 | Thanked: 3 times | Joined on May 2007
#3
Thanks for that, however not exactly a "How To" more an Ikea flat pack without instructions.

So I am still looking for more stuff on Dbus Python for beginners
 

The Following 2 Users Say Thank You to flyinghigh For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 05:59.