I'm trying to run sh-script from python file
my_script.sh
#!/usr/bin/python
rm category.xml
python file
import subprocess
subprocess.call(["../my_script.sh"])
And I get
File "../my_scrypt.sh", line 3
rm category.xml
^
SyntaxError: invalid syntax
How to fix this?