{"id":4756,"date":"2019-03-11T07:09:21","date_gmt":"2020-04-22T06:30:52","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=4756"},"modified":"2021-08-31T02:35:01","modified_gmt":"2021-08-30T18:35:01","slug":"abc5402d78","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=4756","title":{"rendered":"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4f60\u77e5\u9053\u5417\uff1f<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5728\u6211\u7684\u5fc3\u91cc<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4f60\u662f\u591a\u4e48\u7684\u91cd\u8981<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c31\u50cf<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6069<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8bf7\u5141\u8bb8\u6211\u6765\u4e00\u6bb5 freestyle<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4f60\u4eec\u51c6\u5907\u597d\u4e86\u59b9\u6cb9<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4f60\u770b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fd9\u4e2a\u7897<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python3-1587537053.gif\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5b83\u53c8\u5927\u53c8\u5706<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c31\u50cf<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fd9\u6761\u9762<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python5-1587537053.jpeg\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5b83\u53c8\u957f\u53c8\u5bbd<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4f60\u4eec<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5728\u8fd9\u91cc<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u770b\u6587\u7ae0<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u89c9\u5f97 \u5f88\u5f00\u5fc3<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c31\u50cf<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6211\u5728\u8fd9\u91cc<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u7ed9\u4f60\u4eec<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5199\u6587\u7ae0<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u89c9\u5f97\u5f88\u5f00\u5fc3<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">skr~~<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python10-1587537053.jpeg\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e0d\u597d\u610f\u601d<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8d70\u9519\u7247\u573a\u4e86<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">ok..<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u63a5\u4e0b\u6765\uff0c\u5c31\u662f<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><span style=\"background-color: #ff4c00; color: #ffffff;\">\u5b66\u4e60 python \u7684\u6b63\u786e\u59ff\u52bf<\/span><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python7-1587537053.gif\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u54b1\u4eec\u5728\u4e0a\u4e00\u6b21\u7684<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484199&amp;idx=1&amp;sn=7bac717b23768034104859af558213e4&amp;chksm=fc8bbbb6cbfc32a0272435f5d92f1d608bdbefa57440a467c07cc32a2a865fdaaaf80570794a&amp;scene=21#wechat_redirect\" target=\"_blank\" rel=\"noopener noreferrer\">python\u722c\u866b13 | \u79d2\u722c\uff0c\u8fd9\u591a\u7ebf\u7a0b\u722c\u53d6\u901f\u5ea6\u4e5f\u592a\u731b\u4e86\uff0c\u8fd9\u6b21\u5c31\u662f\u8981\u8ba9\u4f60\u7684\u722c\u866b\u6548\u7387\u6760\u6760\u7684<\/a><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e86\u89e3\u4e86\u4e00\u4e9b python \u9ad8\u6548\u722c\u866b\u7684\u6982\u5ff5<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6bd4\u5982\u591a\u7ebf\u7a0b\u3001\u591a\u8fdb\u7a0b\u3001\u534f\u7a0b\u7b49<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u90a3\u4e48\u6211\u4eec\u8fd9\u4e00\u7bc7\u5c31\u5f00\u59cb\u4e86\u89e3\u591a\u7ebf\u7a0b\u7684\u5177\u4f53\u4f7f\u7528<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5728 python \u4e2d<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5e38\u7528\u7684\u591a\u7ebf\u7a0b\u7684\u6a21\u5757\u6709\u8fd9\u4e48\u51e0\u4e2a<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><span style=\"color: #ff4c00;\">_thread<\/span><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><span style=\"color: #ff4c00;\">threading<\/span><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><span style=\"color: #ff4c00;\">Queue<\/span><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e4b\u524d\u6709\u4e2a thread \u6a21\u5757<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u88ab python3 \u629b\u5f03\u4e86<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6539\u540d\u4e3a\u00a0 _thread<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4f46\u5176\u5b9e _thread \u4e5f\u6ca1\u4ec0\u4e48\u4eba\u7528<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u56e0\u4e3a\u00a0_thread \u6709\u7684\u00a0threading \u90fd\u6709<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">_thread \u6ca1\u6709\u7684\u00a0threading \u4f9d\u7136\u6709<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python7-1587537053.jpeg\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u90a3\u4e48\u63a5\u4e0b\u6765\u6211\u4eec\u5c31\u5148\u6765\u73a9\u73a9\u00a0<span style=\"color: #ff4c00;\">threading\u00a0<\/span>\u5427<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5728\u6b64\u4e4b\u524d<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\uff08\u8bf7\u5141\u8bb8\u5c0f\u5e05b\u53c8\u5f00\u59cb\u5439\u6c34\u4e86~\uff09<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4ecb\u7ecd\u4e00\u4e0b \u5c0f\u5e05b \u7684\u4e00\u70b9\u80cc\u666f<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c0f\u5e05b\u5462<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5e73\u5e38\u4e0a\u73ed\u65f6\u95f4\u90fd\u4f1a\u53bb\u6cb3\u8fb9\u6478\u9c7c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6bcf\u5929\u5f97\u6478 20 \u6761\u9c7c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python0-1587537053.gif\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e00\u6761\u4e00\u6761\u7684\u6478<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e3a\u7684\u662f\u4ec0\u4e48<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e3a\u7684\u662f\u5b89\u629a\u8fd9\u4e9b\u9c7c\u7684\u5fc3\u60c5<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fd9\u6837\u4ee5\u540e\u9001\u5230\u9910\u524d\u7684\u7ea2\u70e7\u9c7c\u624d\u66f4\u52a0\u7f8e\u5473<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python0-1587537053.jpeg\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6069<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c0f\u5e05b\u6bcf\u5929\u5f97\u6478 20 \u6761\u9c7c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6bcf\u9694\u4e00\u79d2\u949f\u6478\u4e00\u6761<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e5f\u5c31\u662f\u8fd9\u6837<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; letter-spacing: 1.5px;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\"><span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 39px; text-decoration-style: solid; text-decoration-color: #c678dd;\">import<\/span>\u00a0time\n\n<span class=\"hljs-default-function\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 237px; text-decoration-style: solid; text-decoration-color: #abb2bf;\"><span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #c678dd;\">def<\/span>\u00a0<span class=\"hljs-default-title\" style=\"color: #61aeee; background: rgba(0, 0, 0, 0); display: inline; width: 60px; text-decoration-style: solid; text-decoration-color: #61aeee;\">moyu_time<\/span><span class=\"hljs-default-params\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 145px; text-decoration-style: solid; text-decoration-color: #abb2bf;\">(name, delay, counter)<\/span>:<\/span>\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 33px; text-decoration-style: solid; text-decoration-color: #c678dd;\">\u00a0while<\/span>\u00a0counter:\n\u00a0 \u00a0time.sleep(delay)\n\u00a0 \u00a0print(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 101px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"%s \u5f00\u59cb\u6478\u9c7c %s\"<\/span>\u00a0% (name, time.strftime(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 126px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"%Y-%m-%d %H:%M:%S\"<\/span>, time.localtime())))\n\u00a0 \u00a0counter -=\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>\n\n\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #c678dd;\">if<\/span>\u00a0__name__ ==\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #98c379;\">'__main__'<\/span>:\n\u00a0moyu_time(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 44px; text-decoration-style: solid; text-decoration-color: #98c379;\">'\u5c0f\u5e05b'<\/span>,<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 6px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>,<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #d19a66;\">20<\/span>)<\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u540e\u6765<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c0f\u5e05b\u77e5\u9053\u4e86\u591a\u7ebf\u7a0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u62cd\u8111\u4e00\u60f3<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6211\u9760<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5e94\u8be5\u628a\u5c0f\u660e\u548c\u5c0f\u7ea2\u62c9\u8fc7\u6765<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8ba9\u4ed6\u4eec\u4e00\u8d77\u5e2e\u6211\u6478\u9c7c\u554a<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e5f\u5c31\u662f\u8ba9\u5c0f\u660e\u548c\u5c0f\u7ea2\u540c\u65f6\u4e00\u4eba\u6478 10 \u6761\u9c7c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u60f3\u60f3\u5c31\u5f00\u5fc3<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python7-1587537053-1.jpeg\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5728 \u5c0f\u5e05b \u7684\u5a01\u903c\u5229\u8bf1\u4e0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4ed6\u4eec\u4fe9\u4e0d\u60c5\u613f\u7684\u624b\u62c9\u7740\u624b\u6765\u5230\u4e86\u6cb3\u8fb9<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c0f\u5e05b\u770b\u5c0f\u7ea2\u662f\u5973\u751f<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c31\u8ba9\u5c0f\u7ea2\u6bcf\u6478\u4e00\u6761\u9c7c\u4f11\u606f 2 \u79d2\u949f<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u800c\u5c0f\u660e\u6bcf\u6478\u4e00\u6761\u9c7c\u4f11\u606f 1 \u79d2\u949f<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5148\u6254\u4e00\u6bb5\u4ee3\u7801\u7ed9\u4f60<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; letter-spacing: 1.5px;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\"><span class=\"hljs-default-comment\" style=\"color: #5c6370; background: rgba(0, 0, 0, 0); display: inline; width: 119px; text-decoration-style: solid; text-decoration-color: #5c6370; font-style: italic;\"># encoding = utf-8<\/span>\n\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 39px; text-decoration-style: solid; text-decoration-color: #c678dd;\">import<\/span>\u00a0threading\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 39px; text-decoration-style: solid; text-decoration-color: #c678dd;\">import<\/span>\u00a0time\n\n\n<span class=\"hljs-default-comment\" style=\"color: #5c6370; background: rgba(0, 0, 0, 0); display: inline; width: 109px; text-decoration-style: solid; text-decoration-color: #5c6370; font-style: italic;\"># \u521b\u5efa\u4e00\u4e2a\u7ebf\u7a0b\u5b50\u7c7b<\/span>\n<span class=\"hljs-default-class\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 218px; text-decoration-style: solid; text-decoration-color: #abb2bf;\"><span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 33px; text-decoration-style: solid; text-decoration-color: #c678dd;\">class<\/span>\u00a0<span class=\"hljs-default-title\" style=\"color: #e6c07b; background: rgba(0, 0, 0, 0); display: inline; width: 53px; text-decoration-style: solid; text-decoration-color: #e6c07b;\">MyThread<\/span><span class=\"hljs-default-params\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 119px; text-decoration-style: solid; text-decoration-color: #abb2bf;\">(threading.Thread)<\/span>:<\/span>\n<span class=\"hljs-default-function\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 284px; text-decoration-style: solid; text-decoration-color: #abb2bf;\"><span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #c678dd;\">\u00a0 def<\/span>\u00a0<span class=\"hljs-default-title\" style=\"color: #61aeee; background: rgba(0, 0, 0, 0); display: inline; width: 52px; text-decoration-style: solid; text-decoration-color: #61aeee;\">__init__<\/span><span class=\"hljs-default-params\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 198px; text-decoration-style: solid; text-decoration-color: #abb2bf;\">(self,threadID, name, counter)<\/span>:<\/span>\n\u00a0 \u00a0 threading.Thread.__init__(self)\n\u00a0 \u00a0 self.threadID = threadID\n\u00a0 \u00a0 self.name = name\n\u00a0 \u00a0 self.counter = counter\n\n<span class=\"hljs-default-function\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 93px; text-decoration-style: solid; text-decoration-color: #abb2bf;\"><span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #c678dd;\">\u00a0 def<\/span>\u00a0<span class=\"hljs-default-title\" style=\"color: #61aeee; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #61aeee;\">run<\/span><span class=\"hljs-default-params\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 40px; text-decoration-style: solid; text-decoration-color: #abb2bf;\">(self)<\/span>:<\/span>\n\u00a0 \u00a0 print(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 73px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5f00\u59cb\u7ebf\u7a0b\uff1a\"<\/span>\u00a0+ self.name)\n\u00a0 \u00a0 moyu_time(self.name, self.counter,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 14px; text-decoration-style: solid; text-decoration-color: #d19a66;\">10<\/span>)\n\u00a0 \u00a0 print(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 73px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u9000\u51fa\u7ebf\u7a0b\uff1a\"<\/span>\u00a0+ self.name)\n\n<span class=\"hljs-default-function\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 277px; text-decoration-style: solid; text-decoration-color: #abb2bf;\"><span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #c678dd;\">def<\/span>\u00a0<span class=\"hljs-default-title\" style=\"color: #61aeee; background: rgba(0, 0, 0, 0); display: inline; width: 60px; text-decoration-style: solid; text-decoration-color: #61aeee;\">moyu_time<\/span><span class=\"hljs-default-params\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 184px; text-decoration-style: solid; text-decoration-color: #abb2bf;\">(threadName, delay, counter)<\/span>:<\/span>\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 33px; text-decoration-style: solid; text-decoration-color: #c678dd;\">\u00a0 while<\/span>\u00a0counter:\n\u00a0 \u00a0 time.sleep(delay)\n\u00a0 \u00a0 print(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 101px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"%s \u5f00\u59cb\u6478\u9c7c %s\"<\/span>\u00a0% (threadName, time.strftime(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 125px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"%Y-%m-%d %H:%M:%S\"<\/span>, time.localtime())))\n\u00a0 \u00a0 counter -=\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>\n\n\n<span class=\"hljs-default-comment\" style=\"color: #5c6370; background: rgba(0, 0, 0, 0); display: inline; width: 73px; text-decoration-style: solid; text-decoration-color: #5c6370; font-style: italic;\"># \u521b\u5efa\u65b0\u7ebf\u7a0b<\/span>\n<span class=\"hljs-default-comment\" style=\"color: #5c6370; background: rgba(0, 0, 0, 0); display: inline; width: 296px; text-decoration-style: solid; text-decoration-color: #5c6370; font-style: italic;\"># \u5c0f\u5e05b\u627e\u4e86\u4e24\u4e2a\u4eba\u6765\u6478\u9c7c<\/span>\n<span class=\"hljs-default-comment\" style=\"color: #5c6370; background: rgba(0, 0, 0, 0); display: inline; width: 152px; text-decoration-style: solid; text-decoration-color: #5c6370; font-style: italic;\"># \u8ba9\u5c0f\u660e\u6478\u4e00\u6b21\u9c7c\u4f11\u606f1\u79d2\u949f<\/span>\n<span class=\"hljs-default-comment\" style=\"color: #5c6370; background: rgba(0, 0, 0, 0); display: inline; width: 152px; text-decoration-style: solid; text-decoration-color: #5c6370; font-style: italic;\"># \u8ba9\u5c0f\u7ea2\u6478\u4e00\u6b21\u9c7c\u4f11\u606f2\u79d2\u949f<\/span>\nthread1 = MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u660e\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>)\nthread2 = MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u7ea2\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>)\n\n<span class=\"hljs-default-comment\" style=\"color: #5c6370; background: rgba(0, 0, 0, 0); display: inline; width: 73px; text-decoration-style: solid; text-decoration-color: #5c6370; font-style: italic;\"># \u5f00\u542f\u65b0\u7ebf\u7a0b<\/span>\nthread1.start()\nthread2.start()\n<span class=\"hljs-default-comment\" style=\"color: #5c6370; background: rgba(0, 0, 0, 0); display: inline; width: 102px; text-decoration-style: solid; text-decoration-color: #5c6370; font-style: italic;\"># \u7b49\u5f85\u81f3\u7ebf\u7a0b\u4e2d\u6b62<\/span>\nthread1.join()\nthread2.join()\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 33px; text-decoration-style: solid; text-decoration-color: #c678dd;\">print<\/span>\u00a0(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 73px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u9000\u51fa\u4e3b\u7ebf\u7a0b\"<\/span>)<\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5728\u8fd9\u91cc\u5462<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u7ebf\u7a0b\u7c7b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"white-space: normal; text-align: center;\">\u7136\u540e\u7ee7\u627f\u00a0threading.Thread<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5728\u6211\u4eec\u8fd9\u4e2a\u7ebf\u7a0b\u7c7b\u91cc\u9762\u5b9a\u4e49\u4e86\u4e00\u4e2a run \u65b9\u6cd5<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fd9\u4e2a run \u65b9\u6cd5\u53bb\u8c03\u7528\u4e86\u6478\u9c7c\u7684\u65b9\u6cd5<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u53ef\u4ee5\u770b\u5230\u6211\u4eec\u521b\u5efa\u4e86\u4e24\u4e2a\u7ebf\u7a0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e00\u4e2a\u53eb\u5c0f\u660e\u7ebf\u7a0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e00\u4e2a\u53eb\u5c0f\u7ea2\u7ebf\u7a0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; letter-spacing: 1.5px;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\"><span class=\"hljs-default-attr\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 46px; text-decoration-style: solid; text-decoration-color: #d19a66;\">thread1<\/span>\u00a0= MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u660e\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>)\n<span class=\"hljs-default-attr\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 46px; text-decoration-style: solid; text-decoration-color: #d19a66;\">thread2<\/span>\u00a0= MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u7ea2\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>)<\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5f53\u6211\u4eec\u7684\u7ebf\u7a0b\u8c03\u7528 start \u65b9\u6cd5\u7684\u65f6\u5019<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5b83\u4eec\u5c31\u4f1a\u53bb\u6267\u884c run \u65b9\u6cd5<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u800c\u6211\u4eec\u7528\u5230\u7684 join \u65b9\u6cd5\u5462<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u662f\u4e3a\u4e86\u8ba9\u7ebf\u7a0b\u6267\u884c\u5b8c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u518d\u7ec8\u6b62\u4e3b\u7a0b\u5e8f<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fd0\u884c\u4e00\u4e0b\u5c31\u662f\u8fd9\u6837<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; letter-spacing: 1.5px;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\">\u5f00\u59cb\u7ebf\u7a0b\uff1a\u5c0f\u660e\n\u5f00\u59cb\u7ebf\u7a0b\uff1a\u5c0f\u7ea2\n\u5c0f\u660e \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:26<\/span>\n\u5c0f\u7ea2 \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:27<\/span>\n\u5c0f\u660e \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:27<\/span>\n\u5c0f\u660e \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:28<\/span>\n\u5c0f\u7ea2 \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:29<\/span>\n\u5c0f\u660e \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:29<\/span>\n\u5c0f\u660e \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span>\n\u5c0f\u660e \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:31<\/span>\n\u5c0f\u7ea2 \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:31<\/span>\n\u5c0f\u660e \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:32<\/span>\n\u5c0f\u660e \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:33<\/span>\n\u5c0f\u7ea2 \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:33<\/span>\n\u5c0f\u660e \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:34<\/span>\n\u5c0f\u7ea2 \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:35<\/span>\n\u5c0f\u660e \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:35<\/span>\n\u9000\u51fa\u7ebf\u7a0b\uff1a\u5c0f\u660e\n\u5c0f\u7ea2 \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:37<\/span>\n\u5c0f\u7ea2 \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:39<\/span>\n\u5c0f\u7ea2 \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:41<\/span>\n\u5c0f\u7ea2 \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:43<\/span>\n\u5c0f\u7ea2 \u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 19px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:45<\/span>\n\u9000\u51fa\u7ebf\u7a0b\uff1a\u5c0f\u7ea2\n\u9000\u51fa\u4e3b\u7ebf\u7a0b\n\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 46px; text-decoration-style: solid; text-decoration-color: #e06c75;\">Process<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 52px; text-decoration-style: solid; text-decoration-color: #e06c75;\">finished<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 26px; text-decoration-style: solid; text-decoration-color: #e06c75;\">with<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 26px; text-decoration-style: solid; text-decoration-color: #e06c75;\">exit<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 26px; text-decoration-style: solid; text-decoration-color: #e06c75;\">code<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 6px; text-decoration-style: solid; text-decoration-color: #e06c75;\">0<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6069<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c0f\u5e05b\u518d\u4e5f\u4e0d\u7528\u6478\u9c7c\u4e86<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u540e\u6765\u5c0f\u660e\u548c\u5c0f\u7ea2\u90fd\u4e0d\u4e50\u610f\u4e86<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u51ed\u4ec0\u4e48\u5c31\u6211\u4eec\u4e24\u4e2a\u6478\u9c7c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python8-1587537053.jpeg\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fd9\u65f6\u5019 \u5c0f\u5e05b \u53ea\u80fd\u53bb\u627e\u66f4\u591a\u4eba\u4e86<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fde \u5c0f\u5e05b \u5bb6\u7684\u72d7\u90fd\u53eb\u8fc7\u6765\u4e86<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u7136\u540e<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c31\u75af\u72c2\u7684\u5f00\u542f\u7ebf\u7a0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; letter-spacing: 1.5px;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\"><span class=\"hljs-default-attribute\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 46px; text-decoration-style: solid; text-decoration-color: #98c379;\">thread1<\/span>\u00a0= MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u660e\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>)\nthread2 = MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u7ea2\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>)\nthread3 = MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">3<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u9ec4\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>)\nthread4 = MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">4<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u7eff\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>)\n...\nthread5 = MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #d19a66;\">55<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u9752\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 6px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>)\nthread6 = MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #d19a66;\">56<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u767d\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 6px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>)\nthread7 = MyThread(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #d19a66;\">57<\/span>,\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 37px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"\u5c0f\u72d7\"<\/span>,\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 6px; text-decoration-style: solid; text-decoration-color: #d19a66;\">2<\/span>)<\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">stop\uff01\uff01\uff01<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python3-1587537053.jpeg\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fd9\u53ef\u4e0d\u884c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u56e0\u4e3a\u9891\u7e41\u7684\u521b\u5efa\u7ebf\u7a0b \u9500\u6bc1\u7ebf\u7a0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u975e\u5e38\u7684\u6d6a\u8d39\u8d44\u6e90<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6240\u4ee5\u5462<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5e94\u8be5\u628a\u4ed6\u4eec\u653e\u5230\u6c60\u5b50\u91cc\u9762\u53bb\u4e00\u8d77\u6d17\u6fa1<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python8-1587537053.gif\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u54c8\uff0c\u4e5f\u5c31\u662f<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><span style=\"color: #ff4c00;\">\u7ebf\u7a0b\u6c60<\/span><\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u901a\u8fc7\u7ebf\u7a0b\u6c60\u5c31\u53ef\u4ee5\u91cd\u590d\u5229\u7528\u7ebf\u7a0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e0d\u4f1a\u9020\u6210\u8fc7\u591a\u7684\u6d6a\u8d39<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5728 python \u4e2d<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u53ef\u4ee5\u4f7f\u7528\u00a0<span style=\"color: #ff4c00;\">ThreadPoolExecutor\u00a0<\/span>\u6765\u5b9e\u73b0\u7ebf\u7a0b\u6c60<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6211\u4eec\u6765\u5f80\u6c60\u5b50\u91cc\u585e 20 \u4e2a\u7ebf\u7a0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u7136\u540e\u5728\u5faa\u73af\u7684\u65f6\u5019\u6bcf\u6b21\u62ff\u4e00\u4e2a\u7ebf\u7a0b\u6765\u6478\u9c7c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"white-space: normal;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\">def moyu_time(name, delay, counter):\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 33px; text-decoration-style: solid; text-decoration-color: #c678dd;\">\u00a0 while<\/span>\u00a0counter:\n\u00a0 \u00a0 time.<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 33px; text-decoration-style: solid; text-decoration-color: #c678dd;\">sleep<\/span>(delay)\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 33px; text-decoration-style: solid; text-decoration-color: #c678dd;\">\u00a0 \u00a0 print<\/span>(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 101px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"%s \u5f00\u59cb\u6478\u9c7c %s\"<\/span>\u00a0% (name, time.<span class=\"hljs-default-built_in\" style=\"color: #e6c07b; background: rgba(0, 0, 0, 0); display: inline; width: 53px; text-decoration-style: solid; text-decoration-color: #e6c07b;\">strftime<\/span>(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 126px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"%Y-%m-%d %H:%M:%S\"<\/span>, time.<span class=\"hljs-default-built_in\" style=\"color: #e6c07b; background: rgba(0, 0, 0, 0); display: inline; width: 59px; text-decoration-style: solid; text-decoration-color: #e6c07b;\">localtime<\/span>())))\n\u00a0 \u00a0 counter -=\u00a0<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>\n\n\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #c678dd;\">if<\/span>\u00a0__name__ ==\u00a0<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #98c379;\">'__main__'<\/span>:\n\u00a0 pool = ThreadPoolExecutor(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #d19a66;\">20<\/span>)\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #c678dd;\">\u00a0 for<\/span>\u00a0i in\u00a0<span class=\"hljs-default-built_in\" style=\"color: #e6c07b; background: rgba(0, 0, 0, 0); display: inline; width: 33px; text-decoration-style: solid; text-decoration-color: #e6c07b;\">range<\/span>(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>,<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">5<\/span>):\n\u00a0 \u00a0 pool.submit(moyu_time(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 79px; text-decoration-style: solid; text-decoration-color: #98c379;\">'xiaoshuaib'<\/span>+str(i),<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">1<\/span>,<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 7px; text-decoration-style: solid; text-decoration-color: #d19a66;\">3<\/span>))<\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fd0\u884c\u4e00\u4e0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"white-space: normal;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\"><span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib1<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:10<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib1<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:11<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib1<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:12<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib2<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:13<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib2<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:14<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib2<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:15<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib3<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:16<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib3<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:17<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib3<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:18<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib4<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:19<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib4<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:20<\/span>\n<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #e06c75;\">xiaoshuaib4<\/span>\u00a0\u5f00\u59cb\u6478\u9c7c\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #e06c75;\">2019-03-10<\/span>\u00a0<span class=\"hljs-default-selector-tag\" style=\"color: #e06c75; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #e06c75;\">23<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:30<\/span><span class=\"hljs-default-selector-pseudo\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #d19a66;\">:21<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u53ef\u4ee5\u770b\u5230<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6211\u4eec\u6bcf\u6b21\u4ece\u7ebf\u7a0b\u6c60\u91cc\u9762\u53bb\u62ff\u4e00\u4e2a\u7ebf\u7a0b\u6765\u6478\u9c7c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fd9\u6837\u5c31\u4e0d\u4f1a\u53bb\u91cd\u590d\u7684\u521b\u5efa\u9500\u6bc1\u7ebf\u7a0b\u4e86<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5f53\u7136<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6211\u4eec\u8fd8\u53ef\u4ee5\u7528\u4e00\u4e2a\u53eb\u505a <span style=\"color: #ff4c00;\">Queue <\/span>\u7684\u961f\u5217\u6765\u521b\u5efa\u7ebf\u7a0b\u6c60<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u961f\u5217\u561b~<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5c31\u662f\u53ef\u4ee5\u5f80\u91cc\u585e\u4e1c\u897f<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e5f\u53ef\u4ee5\u5f80\u91cc\u62c9\u4e1c\u897f<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6240\u4ee5\u6211\u4eec\u5728\u4f7f\u7528\u961f\u5217\u7684\u65f6\u5019<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u5c31\u662f put \u548c get \u4e86<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8fd8\u662f\u62ff\u6478\u9c7c\u4e3a\u4f8b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6211\u4eec\u521b\u5efa\u4e00\u4e2a\u957f\u5ea6\u4e3a 6 \u7684\u961f\u5217<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u63a5\u7740\u6839\u636e\u961f\u5217\u7684\u957f\u5ea6\u521b\u5efa\u4e86\u7ebf\u7a0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6bcf\u4e2a\u7ebf\u7a0b\u90fd\u8ba9\u5b83\u4eec\u5904\u4e8e\u5b88\u62a4\u72b6\u6001<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u4e5f\u5c31\u662f\u9700\u8981\u7684\u65f6\u5019<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u9a6c\u4e0a\u6267\u884c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"white-space: normal;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\"><span class=\"hljs-default-function\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 112px; text-decoration-style: solid; text-decoration-color: #abb2bf;\"><span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #c678dd;\">def<\/span>\u00a0<span class=\"hljs-default-title\" style=\"color: #61aeee; background: rgba(0, 0, 0, 0); display: inline; width: 66px; text-decoration-style: solid; text-decoration-color: #61aeee;\">queue_pool<\/span><span class=\"hljs-default-params\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #abb2bf;\">()<\/span>:<\/span>\n\u00a0 queue = Queue(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 6px; text-decoration-style: solid; text-decoration-color: #d19a66;\">6<\/span>)\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #c678dd;\">\u00a0 for<\/span>\u00a0i\u00a0<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #c678dd;\">in<\/span>\u00a0range(queue.maxsize):\n\u00a0 \u00a0 t = CustomThread(queue)\n\u00a0 \u00a0 t.setDaemon(<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 26px; text-decoration-style: solid; text-decoration-color: #c678dd;\">True<\/span>)\n\u00a0 \u00a0 t.start()<\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u63a5\u7740\u6211\u4eec\u5c31\u53ef\u4ee5\u7528 put \u65b9\u6cd5<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u628a\u6211\u4eec\u60f3\u505a\u7684\u4e8b\u60c5\u5f80\u961f\u5217\u91cc\u9762\u585e<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u6bd4\u5982\u8fd9\u91cc\u6211\u4eec\u60f3\u8981\u6478\u9c7c<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"white-space: normal;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\"><span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #c678dd;\">for<\/span>\u00a0i in\u00a0<span class=\"hljs-default-built_in\" style=\"color: #e6c07b; background: rgba(0, 0, 0, 0); display: inline; width: 33px; text-decoration-style: solid; text-decoration-color: #e6c07b;\">range<\/span>(<span class=\"hljs-default-number\" style=\"color: #d19a66; background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #d19a66;\">20<\/span>):\n\u00a0 queue.<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #c678dd;\">put<\/span>(moyu)\nqueue.<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 26px; text-decoration-style: solid; text-decoration-color: #c678dd;\">join<\/span>()<\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"white-space: normal;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\"><span class=\"hljs-default-function\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 72px; text-decoration-style: solid; text-decoration-color: #abb2bf;\"><span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 20px; text-decoration-style: solid; text-decoration-color: #c678dd;\">def<\/span>\u00a0<span class=\"hljs-default-title\" style=\"color: #61aeee; background: rgba(0, 0, 0, 0); display: inline; width: 27px; text-decoration-style: solid; text-decoration-color: #61aeee;\">moyu<\/span><span class=\"hljs-default-params\" style=\"background: rgba(0, 0, 0, 0); display: inline; width: 13px; text-decoration-style: solid; text-decoration-color: #abb2bf;\">()<\/span>:<\/span>\n\u00a0 print(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 87px; text-decoration-style: solid; text-decoration-color: #98c379;\">\" \u5f00\u59cb\u6478\u9c7c %s\"<\/span>\u00a0% (time.strftime(<span class=\"hljs-default-string\" style=\"color: #98c379; background: rgba(0, 0, 0, 0); display: inline; width: 125px; text-decoration-style: solid; text-decoration-color: #98c379;\">\"%Y-%m-%d %H:%M:%S\"<\/span>, time.localtime())))<\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u8981\u6267\u884c\u7684\u8bdd\u5c31\u9700\u8981\u53bb\u961f\u5217\u91cc\u9762\u53d6\u4e86<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"mpa-template\" style=\"white-space: normal;\">\n<pre style=\"background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"><code class=\"hljs-default\" style=\"margin-right: 0.15em; margin-left: 0.15em; padding: 6px; border-radius: 4px; font-size: 0.85em; background: #282c34; color: #abb2bf; display: block; overflow-x: auto; white-space: nowrap;\">q_method =\u00a0<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 27px; text-decoration-style: solid; text-decoration-color: #c678dd;\">self<\/span>.__queue.get()\nq_method()\n<span class=\"hljs-default-keyword\" style=\"color: #c678dd; background: rgba(0, 0, 0, 0); display: inline; width: 26px; text-decoration-style: solid; text-decoration-color: #c678dd;\">self<\/span>.__queue.task_done()<\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u5b8c\u6574\u4ee3\u7801\u5982\u4e0b<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">import<\/span> threading\n<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">import<\/span> time\n<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">from<\/span> queue <span class=\"code-snippet__keyword\">import<\/span> Queue<\/span><\/code><code><span class=\"code-snippet_outer\">\n<\/span><\/code><code><span class=\"code-snippet_outer\">\n<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__class\"><span class=\"code-snippet__keyword\">class<\/span> <span class=\"code-snippet__title\">CustomThread<\/span><span class=\"code-snippet__params\">(threading.Thread)<\/span>:\n<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">def<\/span> <span class=\"code-snippet__title\">__init__<\/span><span class=\"code-snippet__params\">(self, queue)<\/span>:\n<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">        threading.Thread.__init__(self)\n<\/span><\/code><code><span class=\"code-snippet_outer\">        self.__queue = queue\n<\/span><\/code><code><span class=\"code-snippet_outer\">\n<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">def<\/span> <span class=\"code-snippet__title\">run<\/span><span class=\"code-snippet__params\">(self)<\/span>:\n<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">        <span class=\"code-snippet__keyword\">while<\/span> <span class=\"code-snippet__keyword\">True<\/span>:\n<\/span><\/code><code><span class=\"code-snippet_outer\">            q_method = self.__queue.get()\n<\/span><\/code><code><span class=\"code-snippet_outer\">            q_method()\n<\/span><\/code><code><span class=\"code-snippet_outer\">            self.__queue.task_done()\n<\/span><\/code><code><span class=\"code-snippet_outer\">\n<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">def<\/span> <span class=\"code-snippet__title\">moyu<\/span><span class=\"code-snippet__params\">()<\/span>:\n<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    print(<span class=\"code-snippet__string\">\" \u5f00\u59cb\u6478\u9c7c %s\"<\/span> % (time.strftime(<span class=\"code-snippet__string\">\"%Y-%m-%d %H:%M:%S\"<\/span>, time.localtime())))\n<\/span><\/code><code><span class=\"code-snippet_outer\">\n<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">def<\/span> <span class=\"code-snippet__title\">queue_pool<\/span><span class=\"code-snippet__params\">()<\/span>:\n<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    queue = Queue(<span class=\"code-snippet__number\">5<\/span>)\n<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__keyword\">for<\/span> i <span class=\"code-snippet__keyword\">in<\/span> range(queue.maxsize):\n<\/span><\/code><code><span class=\"code-snippet_outer\">        t = CustomThread(queue)\n<\/span><\/code><code><span class=\"code-snippet_outer\">        t.setDaemon(<span class=\"code-snippet__keyword\">True<\/span>)\n<\/span><\/code><code><span class=\"code-snippet_outer\">        t.start()\n<\/span><\/code><code><span class=\"code-snippet_outer\">\n<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__keyword\">for<\/span> i <span class=\"code-snippet__keyword\">in<\/span> range(<span class=\"code-snippet__number\">20<\/span>):\n<\/span><\/code><code><span class=\"code-snippet_outer\">        queue.put(moyu)\n<\/span><\/code><code><span class=\"code-snippet_outer\">    queue.join()\n<\/span><\/code><code><span class=\"code-snippet_outer\">\n<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">if<\/span> __name__ == <span class=\"code-snippet__string\">'__main__'<\/span>:\n<\/span><\/code><code><span class=\"code-snippet_outer\">    queue_pool()<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\u672c\u7bc7\u5c31\u5230\u8fd9\u91cc\u5427<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">ps\uff1a\u672c\u6765\u60f3\u63a5\u7740\u5199\u4e00\u4e0b\u7528\u591a\u7ebf\u7a0b\u6765\u722c\u53d6\u7f51\u7ad9\u7684\uff0c\u7bc7\u5e45\u6709\u9650\uff0c\u54b1\u4eec\u4e0b\u4e00\u7bc7\u518d\u89c1<\/p>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\">\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; white-space: normal; text-align: center; letter-spacing: 1.5px;\"><span style=\"color: #ffffff; background-color: #ff4c00;\">peace<\/span><\/p>\n<p style=\"text-align: center; margin-left: 0.5em; margin-right: 0.5em; letter-spacing: 1.5px;\">\n<p style=\"text-align: center; margin-left: 0.5em; margin-right: 0.5em; letter-spacing: 1.5px;\">\u00a0 \u00a0 \u00a0 \u70b9\u4e2a\u597d\u770b\u554a<span style=\"letter-spacing: 1.5px; text-align: center;\">~~<\/span>\uff08\u7834\u97f3\uff09<\/p>\n<p style=\"text-align: right; margin-left: 0.5em; margin-right: 0.5em; letter-spacing: 1.5px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python2-1587537053.gif\" alt=\"python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01\" \/><\/p>\n<blockquote class=\"keep-source\"><p>\u539f\u6587\u59cb\u53d1\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7\uff08\u5b66\u4e60python\u7684\u6b63\u786e\u59ff\u52bf\uff09\uff1a<a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484209&amp;idx=1&amp;sn=68638761399f22db43185cae8534ec16&amp;scene=19#wechat_redirect\" target=\"_blank\" rel=\"noopener noreferrer\">python\u722c\u866b14 | \u5c31\u8fd9\u4e48\u8bf4\u5427\uff0c\u5982\u679c\u4f60\u4e0d\u61c2\u591a\u7ebf\u7a0b\u548c\u7ebf\u7a0b\u6c60\uff0c\u90a3\u5c31\u53bb\u6cb3\u8fb9\u6478\u9c7c\uff01<\/a><\/p><\/blockquote>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u77e5\u9053\u5417\uff1f \u5728\u6211\u7684\u5fc3\u91cc \u4f60\u662f\u591a\u4e48\u7684\u91cd\u8981 \u5c31\u50cf \u6069 \u8bf7\u5141\u8bb8\u6211\u6765\u4e00\u6bb5 freestyle \u4f60\u4eec\u51c6\u5907\u597d\u4e86\u59b9\u6cb9 \u4f60\u770b \u8fd9\u4e2a\u7897 \u5b83\u53c8\u5927\u53c8\u5706 \u5c31\u50cf \u8fd9\u6761\u9762 \u5b83\u53c8\u957f\u53c8\u5bbd \u4f60\u4eec \u5728\u8fd9\u91cc \u770b\u6587\u7ae0 \u89c9\u5f97 \u5f88\u5f00\u5fc3 \u5c31\u50cf \u6211\u5728\u8fd9\u91cc \u7ed9\u4f60\u4eec \u5199\u6587\u7ae0 \u89c9\u5f97\u5f88\u5f00\u5fc3 skr~~ \u4e0d&hellip;<\/p>\n","protected":false},"author":1,"featured_media":4757,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[401],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/4756"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4756"}],"version-history":[{"count":2,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/4756\/revisions"}],"predecessor-version":[{"id":6626,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/4756\/revisions\/6626"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/4757"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}