I\'ve been writing some python code and in my code I was using \"command\"
The code was working as I intended but then I noticed in the Python docs that command has
The variable output does not contain a string, it is a container for the subprocess.Popen() function. You don't need to print it. The code,
output
subprocess.Popen()
import subprocess output = subprocess.Popen("ls -al", shell=True)
works perfectly, but without the ugly : being printed.