怎么用jupyter跑.py的文件

用jupyter跑.py的文件的方法:
1、将.py文件上传到jupyter notebook本地

2、在jupyter中新建Python3,使用%run xx.py命令即可运行py文件

推荐学习:《python教程》
来源:PY学习网:原文地址:https://www.py.cn/article.html

用jupyter跑.py的文件的方法:
1、将.py文件上传到jupyter notebook本地

2、在jupyter中新建Python3,使用%run xx.py命令即可运行py文件

推荐学习:《python教程》
来源:PY学习网:原文地址:https://www.py.cn/article.html

