摘要: import pyglet class T(pyglet.window.Window): def __init__(self): super(T, self).__init__() self.player = pyglet.media.Player() # self.player.push_handlers(self.on_eos()... 阅读全文
posted @ 2019-01-11 14:33 CrossPython 阅读(408) 评论(0) 推荐(0) 编辑
摘要: http://www.php.cn/python-tutorials-394725.html 阅读全文
posted @ 2019-01-11 10:16 CrossPython 阅读(167) 评论(0) 推荐(0) 编辑
摘要: python2, 参考思路. Queue Queue是python标准库中的线程安全的队列(FIFO)实现,提供了一个适用于多线程编程的先进先出的数据结构,即队列,用来在生产者和消费者线程之间的信息传递 基本FIFO队列 class Queue.Queue(maxsize=0) FIFO即First 阅读全文
posted @ 2019-01-11 09:04 CrossPython 阅读(409) 评论(0) 推荐(0) 编辑