摘要:
数据结构 1. list a = [1, 2, 3] for i in a: if i > 2: a.insert(0, i) # a = 死循环 for i in a[:]: if i > 2: a.insert(0, i) # a = [3, 1, 2, 3] 控制流 1. for... 阅读全文
摘要:
我遇到的情况是因为Unix Socket的原因 先查看下这个东东: 解决办法: Or Or, Add net.core.somaxconn=4096 to /etc/sysctl.conf for it to become permanent (survive the reboot). 最后在uws 阅读全文
摘要:
Test Feture Test Case Test Suite Test Runner 新建一个tests.py文件 import unittest class TestStringMethods(unittest.TestCase): def test_upper(self): self.ass 阅读全文