Thursday, 22 August 2013

Sending logging information from Python code to C# GUI

Sending logging information from Python code to C# GUI

I have a program that I am editing where the GUI is created in C# and then
runs the process in Python. Currently, Python is performing the following:
SetupLog()
log = logging.getLogger()
log.info()
to track events in the process. Is there a way to send this information
back to the C# GUI?
I am also trying to create a cancel button in the C# GUI that will kill
the Python modules when exiting/canceling and was wondering if there was a
better way than to do it based on the Process ID?

No comments:

Post a Comment