码迷,mamicode.com
首页 > 编程语言 > 详细

如何将jupyter中的.ipynb文件转换成python中的.py文件

时间:2020-01-29 14:30:00      阅读:313      评论:0      收藏:0      [点我收藏+]

标签:--   detail   打开   jupyter   文件   convert   回车   blog   script   

引自:https://blog.csdn.net/weixin_43453851/article/details/89192635

1,在当前文件夹的目录中输入cmd并回车(打开的cmd中会显示出你当前的目录)
2,输入命令: jupyter nbconvert --to script *.ipynb
3,运行完后,当前文件夹目录中的所有.ipynb文件都会转成.py文件。

如何将jupyter中的.ipynb文件转换成python中的.py文件

标签:--   detail   打开   jupyter   文件   convert   回车   blog   script   

原文地址:https://www.cnblogs.com/lyp1010/p/12240119.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!