{"id":1220,"date":"2019-11-29T17:33:25","date_gmt":"2019-11-29T09:33:25","guid":{"rendered":"http:\/\/vip.fxxkpython.com\/?p=1220"},"modified":"2020-03-09T23:17:47","modified_gmt":"2020-03-09T15:17:47","slug":"python-%e7%88%ac%e9%98%b6%e6%a2%af-%e6%89%a7%e8%a1%8c%e5%a4%9a%e7%ba%bf%e7%a8%8b-%e5%a4%9a%e8%bf%9b%e7%a8%8b%e5%90%8e%e5%be%97%e5%88%b0%e7%9a%84-future-%e6%93%8d%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=1220","title":{"rendered":"Python \u722c\u9636\u68af | \u6267\u884c\u591a\u7ebf\u7a0b\/\u591a\u8fdb\u7a0b\u540e\u5f97\u5230\u7684 Future \u64cd\u4f5c"},"content":{"rendered":"\n<p>\u5728\u4e0a\u4e00\u7bc7\u4e2d\uff0c\u6211\u4eec\u77e5\u9053\u4e86\u5982\u4f55\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6267\u884c\u6548\u7387\uff0c\u4e5f\u5c31\u662f\u8bf4\u901a\u8fc7 Python \u53bb\u505a\u4e00\u4e9b\u5e76\u53d1\u7684\u64cd\u4f5c\uff0c\u6bd4\u5982\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"534\" height=\"89\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-29-16-50-09.png\" alt=\"\" class=\"wp-image-1222\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-29-16-50-09.png 534w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-29-16-50-09-300x50.png 300w\" sizes=\"(max-width: 534px) 100vw, 534px\" \/><\/figure><\/div>\n\n\n\n<p>\u800c\u5f53\u6211\u4eec\u6267\u884c  executor.submit \u65b9\u6cd5\u4e4b\u540e\uff0c\u6211\u4eec\u4f1a\u5f97\u5230\u4e00\u4e2a Future \u5bf9\u50cf\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"565\" height=\"64\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-29-16-51-19.png\" alt=\"\" class=\"wp-image-1223\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-29-16-51-19.png 565w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2019\/11\/Screenshot-from-2019-11-29-16-51-19-300x34.png 300w\" sizes=\"(max-width: 565px) 100vw, 565px\" \/><\/figure><\/div>\n\n\n\n<p>\u8fd9\u4e2a Future \u5bf9\u8c61\u5c01\u88c5\u4e86\u4e00\u4e9b\u5f02\u6b65\u64cd\u4f5c\u7684\u65b9\u6cd5\uff0c\u5e38\u5e38\u4f1a\u7528\u7684\u6709\u8fd9\u4e48\u51e0\u4e2a\uff1a<div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D1220\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>ok\uff0c\u4ee5\u4e0a\u5c31\u662f\u5e76\u53d1\u4e2d\u5e38\u7528\u5230\u7684 future \u65b9\u6cd5\uff0c\u901a\u8fc7\u4ee5\u4e0a\u8fd9\u4e24\u7bc7\u5185\u5bb9\uff0c\u4f60\u53ef\u4ee5\u81ea\u5df1\u627e\u4e00\u4e2a\u7f51\u7ad9\uff0c\u6bd4\u5982\u59b9\u7eb8\u56fe\u3001\u8868\u60c5\u5305\u90a3\u4e9b\u7f51\u7ad9\uff0c\u4f7f\u7528\u4ee5\u4e0a\u4f7f\u7528\u5230\u7684\u591a\u7ebf\u7a0b\u65b9\u5f0f\uff0c\u9ad8\u6548\u7684\u722c\u53d6\u76f8\u5173\u6570\u636e\u7ec3\u7ec3\u8fd9\u79cd\u591a\u7ebf\u7a0b\u7684\u5199\u6cd5\uff0c\u4ee3\u7801\u53ef\u4ee5\u63d0\u4ea4\u5230 Github \u4e0a\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e0a\u4e00\u7bc7\u4e2d\uff0c\u6211\u4eec\u77e5\u9053\u4e86\u5982\u4f55\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6267\u884c\u6548\u7387\uff0c\u4e5f\u5c31\u662f\u8bf4\u901a\u8fc7 Python \u53bb\u505a\u4e00\u4e9b\u5e76\u53d1\u7684\u64cd\u4f5c\uff0c\u6bd4\u5982\uff1a \u800c\u5f53\u6211\u4eec\u6267\u884c executor.submit \u65b9\u6cd5\u4e4b\u540e\uff0c\u6211\u4eec\u4f1a\u5f97\u5230\u4e00\u4e2a Future \u5bf9\u50cf\uff1a \u8fd9\u4e2a Future \u5bf9\u8c61\u5c01\u88c5\u4e86\u4e00\u4e9b\u5f02\u6b65\u64cd\u4f5c\u7684\u65b9\u6cd5\uff0c\u5e38\u5e38&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[140],"tags":[202,198,200,103,199,194,141,201],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1220"}],"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=1220"}],"version-history":[{"count":3,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1220\/revisions"}],"predecessor-version":[{"id":4143,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1220\/revisions\/4143"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}