Arduino String Length Function In Python