I try to call a .py module within another script in python. My question is, how can I perform operations on the second script (script2) within the first one, more specifically, I want to read the df generated by the second script after calling it in the first script.
from subprocess import call
call(["python", "script2.py"])
Thank you