摘要:
比如我这里使用selectone()查询后返回值为res=None,然后return到app.py,在函数中进行判断,使用: if res is None: 否则会报错 TypeError: 'NoneType' object is not subscriptable 或者其他类似的错误。 新手上路 阅读全文
摘要:
第十一章是关于系统设计的内容,开篇引用了微软首席技术官Ray Ozzie的一句话:"Complexity kills. It sucks the life out of developers, it makes products difficult to plan, build and test." 阅读全文