'command'
is a string literal. The string 'command'
will never be equal to the string "custom_dir"
. It's the same as 5 == 6
- they will never be equal.
Did you mean to refer to a variable called command
? In that case, write:
elif command == "custom_dir":
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…