[EMAIL PROTECTED] schrieb:
> I have a C program that works very well. However, being C it has no
> GUI. Input and Output are stdin and stdout... works great from a
> terminal. Just wondering, has anyone every written a Python GUI for an
> existing C program? Any notes or documentation available?
> 
> I have experience using wxPython from within Python apps and I like it
> a lot for its cross-platform capabilities. I was hoping to use
> wxPython for this as well.

Modules subprocess and pexpect (3rd-party-package) are your friends. 
Alternatively, if you have the source for the C-app, exposing it's 
functionality as DLL/SO and using ctypes as means to access it might 
work as well.

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to