im running the script2 from script 1, but i cant get the value from script2 after run
sc1.py
import sys import os import sc2 os.system ('python sc2.py') varB = sc2.main(varA) print(varB) sc2.py
def main(_argv): varA = 'Hello' if __name__ == '__main__': try: app.run(main) except SystemExit: pass sc1 didnt print anything, how to do it?