I am calling script2 from script1 and would like to use the variable determined from script2 in script 1.
script1
a = 1
import script2
script2.dosomething(a)
print b
script2
def dosomething(a):
b = a+2
B is not recognized in script 1. Is there any way around this?