
Python
Xingzi_c
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
广度优先:课程表
题源力扣,仅作记录 https://leetcode-cn.com/problems/course-schedule 题解参考自 选修 numCourse 门课程,记为 0 到 numCourse-1 。课程0的前修课程1,记为[0,1]。 给定课程总量以及它们的先决条件,判断是否可能完成所有课程的学习? def canFinish(self, numCourses, prerequisites): “”" :type numCourses: int :type prerequisites: List[L原创 2020-08-04 10:31:09 · 198 阅读 · 0 评论 -
Python:使用EasyGUI不显示图片
EasyGUI加载图片时报错: I could not import the Python Imaging Library(PIL) to display the image. PIL官网上的版本不适用于python3 解决方案原创 2019-09-04 13:28:03 · 2166 阅读 · 0 评论 -
Python:python3中__bases__的使用(MRO)
注:尚未在pyhon2中测试 参考文档:https://fishc.com.cn/forum.php?mod=viewthread&tid=48888&extra=page%3D1%26filter%3Dtypeid%26typeid%3D403 · 错误示例 —————————————————————————————————— class A(): def __ini...原创 2019-09-07 09:34:58 · 2983 阅读 · 1 评论