Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5791

How to return a value from a script running inside another script?

$
0
0

@DanBayn wrote:

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?

Thanks,

Dan

Posts: 9

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 5791

Trending Articles