I want to be able to define a variable by the return value of a script. This is what I currently have:
sum_total_earnings_usd = subprocess.call([SCRIPT, \"-d
Use subprocess.check_output() instead of subprocess.call().