how to generate otp using python