I’d like to get the opinion of the Python gurus as to the correct way to handle this. I think I might be over-complicating it.
Say I have Script A that returns a value. Could be a boolean, could be a numeric value, whatever. I want to run Script A inside Script B, but I want that value to be passed from Script A to Script B when Script B runs.
What is the correct Pythonese way of handling this?