Konvertieren Sie die Saite in Boolean Python
def str2bool(v):
return str(v).lower() in ("yes", "true", "t", "1")
Kid Koder
def str2bool(v):
return str(v).lower() in ("yes", "true", "t", "1")
isTrue = "True" == "True"