The stdout of given command is in form of iterable string but not printing actual values.
import subprocess s1 = subprocess.run(\'\'\'aws ec2 describe-subnets