def paste_file(file_object, path):
    '''paste_file(tuple, string)

    Import needed functions.
    Assert that the path is a directory.
    Create all file data.'''
    from os.path import isdir, join
    assert isdir(path)
    file(join(path, file_object[0]), 'wb', 0).write(file_object[1])
paste_file(tuple, string)

    Import needed functions.
    Assert that the path is a directory.
    Create all file data.
recipes/Python/440626_Copying_Pasting_Directories/recipe-440626.py