Питона извлечь имя вне почты

mail = "studentvn.studentfn@company.com"
name = mail.split("@")[0].replace("."," ")
# splits it at the @, grab the first part and replace the "." with a space
# you get "studentvn studentfn"
Sulphix