Question: Hello, how would I run the following subprocess.call and store the output as a variable in Python? command = wc -l %s % (bed) subprocess.call(command,
Hello, how would I run the following subprocess.call and store the output as a variable in Python?
command = "wc -l %s" % (bed) subprocess.call(command, shell = True)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
