[arch-projects] calling python from C/C++
ok, here's what I want to do:
---- foobar.py ---------------
class foo:
def bar(self):
print "bar called"
def foobar():
print "foobar called"
----------------------------------
and I'm gonna make up the syntax here:
----- test.c -------------------
#include
On Wed, 16 Mar 2005 14:03:26 -0600, Aaron Griffin
what I want to know is the proper syntax to do this...the docs are sketchy Also, what's the correct way to pass a C struct to python?
No idea, but I could tell you how to do it in Java. :-D I assume this is some experiments you may use for the window manager you may be developing. I thought I should bring that project up, because I know at least one member of this list (punkrockguy) was interested in developing a wm a while back. Take a look here, folks: http://bbs.archlinux.org/viewtopic.php?t=10768 Dusty
I assume this is some experiments you may use for the window manager you may be developing. I thought I should bring that project up, because I know at least one member of this list (punkrockguy) was interested in developing a wm a while back. Take a look here, folks:
Yeah, I've been messing around with modular event handlers, and a nice
event system...
I think I'm going to have to wrap the Xlib event system... for 2 reasons:
a) so modules do not depend on structures and constants from
participants (2)
-
Aaron Griffin
-
Dusty Phillips