def write(path, contents): with open(path, 'w') as file: file.write(contents) return ""