I am new to python so my apologies in advance if the question is somewhat dumb or unrealistic.
I have an internally developed tool that converts traces of an ECU to a human readable data with the help of some self-developed python packages that I don’t have access to.
I want to “export” some signal values obtained in this tool (that I can store in a python list in the tool) to an external python script where I can do some additional processing. Something like this: inTool.py
#do some trace processing, get signal_values as a result
def when_done():
start external python script and give it signal_values as input
external_Script.py
#import signal_values from inTool.py and do some additional processing.
Is this doable?
Reason: the tool cannot handle third-party packages well and often crashes. That is why solutions similar to this don’t work for me .
My last resort would probably be to write the values to a text file in the tool and read them out again in my script but I was wondering if there is a nicer way to do it. Thanks!