会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
xdd1997
我们生在红旗下,长在春风里,目光所至皆为华夏,五星闪耀皆为信仰!
首页
新随笔
管理
2020年9月2日
从一个py文件调用另一个py文件
摘要: 参考:https://blog.csdn.net/ljt350740378/article/details/96324742 第一种方法: A.py class MaYi(): def run(self): print('调用成功') B.py from A import MaYi mayi = M
阅读全文
posted @ 2020-09-02 18:17 xdd1997
阅读(864)
评论(0)
推荐(0)
编辑
公告