I work through access through Gmail using imaplib and stumbled upon:
status, response = imap_server.status('INBOX', "(UNSEEN)")
unreadcount = int(response[0].split()[2].strip(').,]'))
print unreadcount
I just want to know that:
status,
does before "response =". I would do it, but I have no idea that I even ask you to find an answer for this: (.
Thank.
source
share