Java Code To Validate String Using Python In Linux