python 3.x - prepare command and use startswith option with string ...

python 3.x - prepare command and use startswith option with string ...