November 13th, 2012, 03:45 PM
Just wondering if someone can help me. Im looking at trying to validate emails in python 3. Basically the user enters their email and it has to be in the correct format. Any ideas how I even start this? The format would be something like firstname.lastname@example.org, it doesnt really matter I just need to know how to start this? Any help would be greatly appreciated.
November 13th, 2012, 03:52 PM
I suppose you'd search the internet for a regular expression that matches valid email addresses, and then use that expression.
match = re.compile(regular_expression).match
[/code] are essential for python code and Makefiles!