{"id":165495,"date":"2020-10-10T19:42:01","date_gmt":"2020-10-10T11:42:01","guid":{"rendered":"http:\/\/4563.org\/?p=165495"},"modified":"2020-10-10T19:42:01","modified_gmt":"2020-10-10T11:42:01","slug":"%e8%af%b7%e6%95%99-python-%e5%a4%9a%e7%ba%bf%e7%a8%8b%e5%86%85%e5%ad%98%e4%b8%8d%e9%87%8a%e6%94%be%e6%80%8e%e4%b9%88%e6%8e%92%e6%9f%a5","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=165495","title":{"rendered":"\u8bf7\u6559 Python \u591a\u7ebf\u7a0b\u5185\u5b58\u4e0d\u91ca\u653e\u600e\u4e48\u6392\u67e5"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u6559 Python \u591a\u7ebf\u7a0b\u5185\u5b58\u4e0d\u91ca\u653e\u600e\u4e48\u6392\u67e5               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : r150r <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u65b0\u624b\u5199\u4e86\u4e00\u4e2a\u591a\u7ebf\u7a0b\u7684\u722c\u866b\uff0c\u6240\u6709\u7ebf\u7a0b\u90fd\u6267\u884c\u5b8c\u4e86\uff0c\u4f46\u662f\u4e00\u76f4\u5360\u7740 1.5GB \u7684\u5185\u5b58\uff08\u4efb\u52a1\u6570\u8d8a\u591a\u4e0d\u91ca\u653e\u7684\u5185\u5b58\u8d8a\u591a\uff09 \u4e0d\u77e5\u9053\u600e\u4e48\u6392\u67e5\u54ea\u91cc\u51fa\u95ee\u9898\uff0cpympler \u770b\u4e0d\u592a\u61c2\u95ee\u9898\u5230\u5e95\u51fa\u5728\u54ea\u91cc\uff0c\u8bf7\u6559\u8be5\u5982\u4f55\u6b63\u786e\u7684\u6392\u67e5\u95ee\u9898<\/p>\n<p>\u6267\u884c\u591a\u7ebf\u7a0b\u51fd\u6570\u7684\u4ee3\u7801\uff1a<\/p>\n<pre><code>    def mainfunc(tasknum, thread):         tr = tracker.SummaryTracker()         tr.print_diff()         list = []         for i in range(tasknum):             list.append(str(i))         pool = threadpool.ThreadPool(thread)         requests = threadpool.makeRequests(childfunc, list)         for req in requests:             pool.putRequest(req)         pool.wait()         tr.print_diff() <\/code><\/pre>\n<p>tr.print_diff()\u6253\u5370\u7684\u5185\u5bb9<\/p>\n<p>\u521d\u59cb\u5316\uff1a<\/p>\n<pre><code>                     types |   # objects |   total size ========================== | =========== | ============                       list |        3741 |    350.84 KB                        str |        3739 |    260.01 KB                        int |         673 |     18.40 KB                       dict |           2 |    352     B                      tuple |           4 |    256     B                       code |           1 |    144     B      function (store_info) |           1 |    136     B                       cell |           2 |     96     B   functools._lru_list_elem |           1 |     80     B                     method |          -1 |    -64     B <\/code><\/pre>\n<p>\u6240\u6709\u7ebf\u7a0b\u7ed3\u675f\u540e\uff1a<\/p>\n<pre><code>                                types |   # objects |   total size ===================================== | =========== | ============                                  dict |      202860 |     43.69 MB                                  list |      100169 |      8.47 MB                                   str |      102446 |      5.62 MB                threadpool.WorkRequest |      100000 |      5.34 MB                                   int |      100836 |      3.08 MB                    _io.BufferedReader |         294 |      2.35 MB                                 tuple |        1480 |     93.30 KB                                  type |          76 |     85.98 KB                                  code |         572 |     80.57 KB                                 bytes |        1219 |     51.49 KB                                   set |          32 |     43.50 KB                         socket.socket |         294 |     27.56 KB        pymysql.connections.Connection |         294 |     16.08 KB                       socket.SocketIO |         294 |     16.08 KB   DBUtils.SteadyDB.SteadyDBConnection |         294 |     16.08 KB <\/code><\/pre>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>24<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3650653\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : scriptB0y <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7ebf\u7a0b\u6c60\u91cc\u9762\u7684\u4efb\u52a1\uff0c\u68c0\u67e5\u4e00\u4e0b\u6240\u6709\u7684\u51fd\u6570\u6700\u540e\u90fd\u6709 return\uff0c\u6ca1\u6709\u7684\u52a0\u4e00\u4e0b\uff0c\u518d\u8bd5\u8bd5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650654\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : r150r <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @scriptB0y \u6240\u6709\u7684\u51fd\u6570\u90fd\u6709 return \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650655\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wevsty <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u68c0\u67e5\u6709\u6ca1\u6709\u5faa\u73af\u5f15\u7528\u6570\u636e\u7ed3\u6784\u7684\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650656\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hstar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u628a\u4f60\u4ee3\u7801\u590d\u5236\u8dd1\u4e86\u4e00\u904d\uff0c\u662f\u4f60\u4ee3\u7801\u91cc requests \u8fd9\u4e2a\u53d8\u91cf\u7684\u95ee\u9898\uff0c\u8fd9\u4e2a\u53d8\u91cf\u7f13\u5b58\u4e86\u4f60\u6240\u6709\u4efb\u52a1\u7684\u5f15\u7528\uff0c\u53ea\u8981\u4f60\u7684 mainfunc \u51fd\u6570\u4e0d\u7ed3\u675f\u8fd9\u4e9b\u5f15\u7528\u5c31\u4e0d\u4f1a\u6d88\u5931\u3002<br \/>\u4f60\u53ef\u4ee5\u5728 mainfunc \u5916\u9762\u5957\u4e00\u5c42\u51fd\u6570\u518d\u6253\u5370 tr.print_diff()\u770b\u770b\uff0c\u4f1a\u53d1\u73b0\u5185\u5b58\u5360\u7528\u6d88\u5931\u4e86\u3002<br \/>\u4e5f\u53ef\u4ee5\u628a <br \/>for req in requests:<br \/> pool.putRequest(req)<br \/>\u6539\u6210<br \/>while requests:<br \/> pool.putRequest(requests.pop())                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650657\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : r150r <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Hstar \u8c22\u8c22\u89e3\u7b54\uff01\u6539\u6210 requests.pop()\u540e\u6253\u5370 tr.print_diff()\uff0clist \u548c dict \u660e\u663e\u5c11\u4e86\u3002\u4e0d\u8fc7 htop \u663e\u793a 1.5G \u5185\u5b58\u8fd8\u662f\u6ca1\u91ca\u653e\uff0c\u9664\u975e\u8fd9\u4e2a mainfunc \u7ed3\u675f\uff0c\u770b\u6765\u662f childfunc \u7684\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650658\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : byaiu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5185\u5b58\u5206\u914d\u662f\u6709\u72b6\u6001\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650659\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : superrichman <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u722c\u866b\uff0c\u4f60\u662f\u4e0d\u662f\u7528\u4e86 beautiful soup \uff1f\u8fd9\u4e2a\u7528\u5b8c\u4e86\u8981\u624b\u52a8 decompose \u4e00\u4e0b\uff0c\u4e0d\u7136\u5185\u5b58\u4f1a\u7206\u70b8                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650660\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhuangzhuang1988 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u597d\u67e5<br \/>\u56fd\u5185\u7684 python \u6838\u5fc3\u5f00\u53d1\u7740\u4e5f\u626f\u5230\u4e86 https:\/\/pythonhunter.org\/episodes\/9                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650661\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : noobsheldon <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u628a\u8fd9\u4e2a mainfunc \u653e\u5165\u4e00\u4e2a\u5b50\u8fdb\u7a0b\u6267\u884c, \u5b50\u8fdb\u7a0b\u7ed3\u675f\uff0c\u8ba9\u7cfb\u7edf\u81ea\u5df1\u56de\u6536\u5185\u5b58\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650662\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mumbler <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u201cdel \u53d8\u91cf\u540d\u201d \u53ef\u4ee5\u624b\u52a8\u91ca\u653e\u5185\u5b58                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650663\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cloudyplain <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1.threadpool \u6539\u4e3a\u5168\u5c40\uff1f 2.\u6362 tcmalloc                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650664\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cheng6563 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u4f1a python<br \/>\u73b0\u4ee3\u7684 gc \u4e00\u822c\u5c31\u7b97\u56de\u6536\u4e86\u5185\u5b58\u4e5f\u4e0d\u4f1a\u628a\u5185\u5b58\u8fd8\u7ed9\u64cd\u4f5c\u7cfb\u7edf<br \/>\u53ef\u4ee5\u8003\u8651\u65b0\u542f\u4e00\u4e2a\u8fdb\u7a0b\uff0c\u64cd\u4f5c\u5b8c\u7ed3\u675f\u8fdb\u7a0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650665\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chenqh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             req \u662f\u4ec0\u4e48\u4e1c\u897f\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650666\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : r150r <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @superrichman \u6ca1\u6709\u4f7f\u7528 beautiful soup                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650667\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangritian <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53d8\u91cf\u91ca\u653e\u540e\uff0c\u53ef\u80fd\u4ec5\u4ec5\u88ab py \u6807\u8bb0\u4e3a\u5783\u573e\uff0c\u5e76\u6ca1\u6709\u5f52\u8fd8\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4e0b\u6b21\u4f60\u518d\u7533\u8bf7\u53d8\u91cf\u4f18\u5148\u4ece\u5783\u573e\u5806\u91cc\u627e<br \/>\u5f00\u5b50\u8fdb\u7a0b\u7528\u5b8c\u9500\u6bc1\u662f\u6700\u53ef\u884c\u7684\u65b9\u6848\uff0c\u53e6\u5916\u627e\u627e\u6709\u6ca1\u6709\u50cf go \u7684 debug.FreeOSMemory()\u8fd9\u79cd\u5f3a\u5236\u5f52\u8fd8\u64cd\u4f5c\u7cfb\u7edf\u7684\u51fd\u6570                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650668\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : r150r <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @noobsheldon \u76ee\u524d\u662f\u628a mainfunc \u653e\u5165\u5b50\u8fdb\u7a0b\uff0c\u5206\u6bb5\u6bcf 100000 \u4e2a\u4efb\u52a1\u6267\u884c 1 \u6b21<br \/>\u53ef\u76ee\u6807\u7ad9\u7684 tid \u8d8a\u9ad8\uff0c\u9700\u8981\u89e3\u6790\u7684\u8d44\u6e90\u5c31\u8d8a\u591a\uff0c\u6bcf 100000 \u4e2a\u4efb\u52a1\u9700\u8981\u7684\u5185\u5b58\u4e5f\u5c31\u8d8a\u6765\u8d8a\u9ad8\u3002<br \/>\u73b0\u5728 100000 \u4e2a\u4efb\u52a1\u8981 26GB \u5185\u5b58\u4e86\uff0c\u53ea\u80fd\u624b\u52a8\u8c03\u6574\u4efb\u52a1\u6570                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650669\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : r150r <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5df2\u66f4\u65b0\u53ef\u4ee5\u590d\u73b0\u95ee\u9898\u7684\u6700\u5c0f\u5316\u4ee3\u7801                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650670\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chenqh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u7528 threadpool \u8bd5\u8bd5\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650671\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : r150r <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wangritian \u53ea\u4fdd\u6301 50 \u4e2a\u7ebf\u7a0b get \u4e00\u4e2a\u76f8\u540c\u94fe\u63a5\uff0c\u5185\u5b58\u4f7f\u7528\u91cf\u5374\u8ddf\u968f\u4efb\u52a1\u6570\u91cf\u65e0\u6b62\u5c3d\u589e\u957f\uff0c\u8bf7\u95ee\u8fd9\u662f\u6ca1\u6709\u88ab\u6807\u8bb0\u4e3a\u5783\u573e\uff0c\u6240\u4ee5\u65e0\u6cd5\u56de\u6536\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650672\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : r150r <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @chenqh \u4e4b\u524d\u8bd5\u8fc7 multiprocessing.dummy \u4e5f\u4e0d\u91ca\u653e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650673\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : r150r <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             python \u6807\u8bb0\u53d8\u91cf\u4e3a\u5783\u573e\u800c\u4e0d\u91ca\u653e\u6709\u4ec0\u4e48\u6761\u4ef6\u5417\uff1f<br \/>\u5982\u679c\u628a\u4ee3\u7801\u91cc\u7684 session.get \u66ff\u6362\u6210 str = &#8216; &#8216; * (500 * 1024 * 1024)\uff0c\u4f7f\u7528\u7684\u5185\u5b58\u4f1a\u9a6c\u4e0a\u5c31\u5f52\u8fd8\u7ed9\u7cfb\u7edf\uff0c\u662f requests \u7684\u95ee\u9898\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650674\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mywaiting <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e4b\u524d\u9047\u5230\u8fc7\u7c7b\u4f3c\u7684\u95ee\u9898\uff0c\u628a requests \u7684 timeout \u8c03\u5c0f\u4e00\u70b9\u5427 timeout=(5, 10) \u8bd5\u8bd5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650675\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : changePro <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u95ee\u9898\u6211\u4eca\u665a\u7814\u7a76\u4e86\u4e0b\uff0cPy \u81ea\u5df1\u7ba1\u7406\u5185\u5b58<\/p>\n<p>&#8220;`<br \/>str = &#8216; &#8216; * (500 * 1024 * 1024)<br \/>&#8220;`<\/p>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u6709\u53ef\u80fd\u662f\u5728\u6808\u4e0a\u9762\u7684\uff0c\u7528\u5b8c\u4e86 frame \u5c31\u6ca1\u4e86\uff0c\u5185\u5b58\u81ea\u7136\u91ca\u653e<\/p>\n<p>\u4f46\u662f<\/p>\n<p>&#8220;`<br \/>res = s.get(url, timeout=(5, 60))<br \/>&#8220;`<\/p>\n<p>\u6709\u53ef\u80fd\u662f\u5728\u5806\u4e0a\u9762\u7684\uff0cGC \u56de\u6536\u7684\u8bdd\uff0c\u5e94\u8be5\u6709\u5185\u5728\u7b56\u7565\uff0c\u627e\u65f6\u95f4\u53ef\u4ee5\u5206\u6790\u5206\u6790\u5185\u5b58\u5e03\u5c40                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3650676\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : HappyTrail <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https \u6539\u6210 http \u8bd5\u8bd5\u770b &#8211; &#8211;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559 Python \u591a\u7ebf\u7a0b\u5185\u5b58\u4e0d\u91ca&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/165495"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=165495"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/165495\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=165495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=165495"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=165495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}