en fait tu veux savoir si le texte commence par ""command /", qu'importe la suite ? pour celà tu as str.startswith