参考: jupyter文件转换为py文件_柏拉图工作室-AI学科的博客-CSDN博客_jupyter生成py文件 方式一:打开jupyter,然后File—Download as—Python(.py)