随笔分类 -  python

摘要:/user/test: ....A ........a.py ....B ........b.py 文件a.py的内容: ``` def fa(): print("a") ``` b.py想调用a.py中的函数fa(): # sys添加路径方法 ``` import sys sys.path.app 阅读全文
posted @ 2023-05-27 19:35 没有任何出路 阅读(396) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/xuqi7/article/details/78757548/ 阅读全文
posted @ 2023-05-27 18:13 没有任何出路 阅读(25) 评论(0) 推荐(0)
摘要:参考资料: ppython面向对象 阅读全文
posted @ 2021-10-18 18:30 没有任何出路 阅读(43) 评论(0) 推荐(0)
摘要:PyYAML:Python 的 YAML 解析器和发射器。YAML 是一种数据序列化格式,专为人类可读性和与脚本语言的交互而设计。 参考资料: YAML 入门教程 graphviz:使用graphviz可以画关系图、流程图、状态图等,非常方便。需要用到一个名叫 DOT 的描述语言 参考资料: 十分钟 阅读全文
posted @ 2021-10-15 09:43 没有任何出路 阅读(60) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/lxy210781/article/details/89441539 阅读全文
posted @ 2021-09-08 08:21 没有任何出路 阅读(67) 评论(0) 推荐(0)
摘要:1.报错:TypeError: unsupported operand type(s) for +=: 'builtin_function_or_method' and 'int' #-*- coding : utf-8 -*- i = 0 sum = 0 while i <= 100: sum + 阅读全文
posted @ 2021-03-17 14:48 没有任何出路 阅读(736) 评论(0) 推荐(0)