I need to check if there's a point in email after "@".
if not email.endswith('.com'):
args['reg_error'] = "Email is incorrect!"
I need to do something like this, but with any end which has point after "@".
I need to check if there's a point in email after "@".
if not email.endswith('.com'):
args['reg_error'] = "Email is incorrect!"
I need to do something like this, but with any end which has point after "@".
Thank you, Arkistarvh Kltzuonstev!
I needed to write this:
if not '.' in email[email.index('@'):]:
do something...