G'day,
I want to extend an embedded interpreter so that calls to print() are 
automagically sent to a C++ gui (windows exe) via a callback function in 
the DLL.
Then I'll be able to do this:

----test.py----
import printoverload

printoverload.set_stdout()
printoverload.set_stderr()

print("this will be sent to a C function in printoverload.pyd")
---------------


Is this feasible?
Any gotchas I should be aware of?


Cheers





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

Reply via email to