email format in python

met@n supermetan at yahoo.fr
Mon Jul 18 06:21:20 EDT 2005


I want to have the python equivalent function of this
(that checks email format)

function CheckEmail($Email = "") {
  if (ereg("[[:alnum:]]+@[[:alnum:]]+\.[[:alnum:]]+",
$Email)) {
    return true;
  } else {
    return false;
  }
}


	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com



More information about the Python-list mailing list