多彩编程 多彩编程MZPH · CODE BLOG
ARTICLE DETAIL

文章详情

深耕前端与后端开发技术的一线实战笔记与踩坑复盘。

dify使用

dify使用 dify批量上传代码为str_list = open('markdown.md', 'r', encoding='utf-8').read().split('\*\*\*') import csv; csv.writer(open('output2.csv', 'w', newline='', encoding='utf-8')).writerows([[x] for x in ['Column Name', *str_list]])import json import csv file_name = 'a.json' with open(file_name, 'r', encoding='utf-8') as fid: items_all = json.load(fid) str_list = [str(item) for item in items_all] csv.writer(open(f'{file_name}.csv', 'w', newline='', encoding='utf-8')).writerows([[x] for x in ['Column Name', *str_list]])插件制作插件制作教程注意条
返回列表