Blog tag:programming

I am working on an app programmed with Python and Kivy. I was getting a strange bug and ended up tracking it to this line: if string.startswith(word): ...do stuff I defined "word" empty by default (word=""), but that resulted in an unexpected behaviour: it always checks True, even if the string var ...