On Sat, Dec 20, 2014 at 9:34 AM, John Culleton <j...@wexfordpress.com>
wrote:
>
> This week I wrote my first Python program, a script callable from
Scribus, a DTP program. It ran! Now I want to spread my wings a little. How
do I call a C language executable subprogram from Python and pass
information back and forth?

When you say "subprogram", do you mean that you want to start and
communicate with a whole new process, or do you merely want to invoke some
dynamically loaded entry point within the same process? For the former, use
the subprocess module. For the latter, use the ctypes module (or consider
using Cython instead of pure Python if Scribus will support it).
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to