python subprocess Command Line Parsing Error
问题 I am running a python program I have coded with a subprocess WolfPsort Program. It is a bioinformatics tool for protein localization detection program. However, the python subprocess does not excute my input file. This is the code #!/usr/bin/python # secref.py is for secretome refining import os import sys import subprocess if len(sys.argv) != 2: print >> sys.stderr, 'Usage: python secref.py [*.fasta]' exit(1) if sys.argv[1].endswith('.fasta'): filename = sys.argv[1] else: print >> sys.stderr