Python
BraydenHu
这个作者很懒,什么都没留下…
展开
-
WTF, list.append() and list.extend()
list.append() 和 list.extend() 的返回值不是我想当然以为的 list, 而是无返回值. 所以按照list使用时会报错: NoneType 类型没有XXX实现.原创 2014-12-20 09:10:55 · 417 阅读 · 0 评论 -
Python and PyQt conflicts on hex()
Pre-conditions: Import all PyQt libs into Python project(or just one .py file) Result: Compiling error such as "Type error of hex(QTestString), the expect type is QTestString" occurs when calli原创 2014-12-20 08:48:41 · 374 阅读 · 0 评论 -
Py2exe issue: the generated exe process keeps stay in background
Pre-condition: Using py2exe tool chains to transfer .py to .exe. Issue: The .exe process cannot be stopped automatically when closed, which keeps occupying resources (CANcase in my case) and ca原创 2014-12-20 09:05:24 · 539 阅读 · 0 评论