Dashboard Temp Share Shortlinks Frames API

HTMLify

is_valid_email.py
Views: 467 | Author: abh
1
2
3
4
5
6
7
8
def is_valid_email(email):
    parts = email.split("@")
    if len(parts) == 2:
        username, domain = parts
        if username and domain:
            if "." in domain:
                return True
    return False