Ejemplo n.º 1
0
def print_posts_to_file(posts, file_destination):
    for post in posts:
        Utilities.print_to_file(file_destination, str(post))
Ejemplo n.º 2
0
def print_posts_to_file_labeled(label, posts, file_destination):
    Utilities.print_to_file(file_destination, label)
    print_posts_to_file(posts, file_destination)
Ejemplo n.º 3
0
def print_member_to_file(file_destination, f):
    return lambda (post): Utilities.print_to_file(file_destination, f(post))