摘要: get the color value at a single pixel http://www.pygame.org/docs/ref/surface.html#pygame.Surface.get_at 针对上面补充关于RGBA Color: 参考链接: https://www.w3cplus. 阅读全文
posted @ 2018-06-11 21:04 BreakofDawn 阅读(428) 评论(0) 推荐(0) 编辑
摘要: https://www.pygame.org/docs/ref/rect.html#pygame.Rect https://blog.csdn.net/YZXnuaa/article/details/79011795 pygame.Rect.clip: crops a rectangle insid 阅读全文
posted @ 2018-06-11 20:45 BreakofDawn 阅读(153) 评论(0) 推荐(0) 编辑
摘要: https://www.pygame.org/docs/ref/event.html#pygame.event.pump 阅读全文
posted @ 2018-06-11 20:03 BreakofDawn 阅读(341) 评论(0) 推荐(0) 编辑
摘要: http://www.pygame.org/docs/ref/time.html#pygame.time.Clock 阅读全文
posted @ 2018-06-11 19:50 BreakofDawn 阅读(1460) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/qq_36357820/article/details/77527081 其他链接: Python可迭代对象中的添加和删除(add,append,pop,remove,insert) https://blog.csdn.net/handsome_ 阅读全文
posted @ 2018-06-11 14:24 BreakofDawn 阅读(313) 评论(0) 推荐(0) 编辑
摘要: python学习之——import sys模块 (1)sys.argv (2)sys.platform (3) sys.exit(n) (4)sys.path 对于模块和自己写的脚本不在同一个目录下,在脚本开头加sys.path.append('xxx') https://blog.csdn.net 阅读全文
posted @ 2018-06-11 09:08 BreakofDawn 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/lawme/article/details/51034543 Jupyter Notebook 的快捷键 Jupyter Notebook 有两种键盘输入模式。编辑模式,允许你往单元中键入代码或文本;这时的单元框线是绿色的。命令模式,键盘输入运行 阅读全文
posted @ 2018-06-11 08:08 BreakofDawn 阅读(176) 评论(0) 推荐(0) 编辑