Skip to content

Instantly share code, notes, and snippets.

@koolquark
koolquark / check_id.py
Created June 10, 2018 02:23
Validate Email ID using validate_email
# Check Email ID Validity
from validate_email import validate_email
import sys
basename = sys.argv[1]
available = []
for email_id in [ basename + '@gmail.com' , basename + '[email protected]']:
# print("Verifying Email ID : " + email_id)
if len(email_id) > 15:
% Run in Erlang Shell
% See initial call, ancestors in process_info
ShellPid = self().
PFun = fun() -> Pid = self(), ShellPid ! [Pid,erlang:process_info(Pid)] end.
proc_lib:spawn(PFun).