human
Get output of python script from within python script
assistant
Here is some code to get output of script `proc`

print(proc.communicate()[0])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.