Skip to content

Instantly share code, notes, and snippets.

View iamsoorena's full-sized avatar
🎯
Focusing

Soorena iamsoorena

🎯
Focusing
View GitHub Profile
import datetime
import email
import imaplib
import time
import logging
def readmail(volume):
time.sleep(1.5)
m = imaplib.IMAP4_SSL("imap.gmail.com")
@BenderV
BenderV / cheatsheet.py
Created October 17, 2016 19:36
Note on Design of Computer Program by Peter Norvig - https://in.udacity.com/course/design-of-computer-programs--cs212/
"""I didn't finish the class, and the notes are only partial and really not cleaned/organized,
but they represent at the time what I found interesting to remember.
@ben_derv
"""
?? --->understand---> problem --->specify---> design --->code
sum(**2 for x in nums)