def get_user_from_next(file_path): """ """ user_todo = BCspider.read_from_txt(file_path, '$||$', 'all') user_todo = list(set(user_todo)) BCspider.write_to_txt(user_todo, './filter/user_todo.txt')
def get_user_from_filter(file_path , index_from, index_to): """ """ user_todo = BCspider.read_from_txt(file_path, '$||$', 0)[index_from:index_to] BCspider.write_to_txt(user_todo, file_path + 'user_todo.txt')