User:Ronhjones/2FA
Appearance
NB:Of course the real codes are NOT 0000 0000 0000 0000
import onetimepass as otp
import warnings
def main():
my_secret = '0000 0000 0000 0000'
my_token = otp.get_totp(my_secret)
print "Ronhjones", my_token
my_secret = '0000 0000 0000 0000'
my_token = otp.get_totp(my_secret)
print "RonBot", my_token
if __name__ == "__main__":
with warnings.catch_warnings():
warnings.simplefilter("ignore", FutureWarning)
main()