I don't know how to fix the syntax
import os, sys, subprocess
subprocess.call("grep -o 'tag[^"]*' test > update", shell=True)
subprocess.call("grep -o 'tag[^"]*' test > update", shell=True)
^
SyntaxError: invalid syntax
I tried using os.system
as well but i get the same error