DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
convert string to boolean python
def str2bool(v): return str(v).lower() in ("yes", "true", "t", "1")
PREVIOUS
NEXT
Tagged:
#convert
#string
#boolean
#python
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit