I am calling a second python script that is written for the command line from within my script using
os.system('insert command line arguments here')
this works fine and runs the second script in the terminal. I would like this not to be output in the terminal and simply have access to the lists and variables that are being printed. Is this possible using os.system? Or, do I need to use something else?