Java Get String Size In Python Example Program