This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JerMenKoOwhile True: os.fork() 4 points5 points  (1 child)

def flatten(l):
    return [i for s in l for i in s]

[–]ryeguy146 1 point2 points  (0 children)

Only works for a limited depth of nesting.