{"id":108279,"date":"2020-05-31T05:29:31","date_gmt":"2020-05-30T21:29:31","guid":{"rendered":"http:\/\/4563.org\/?p=108279"},"modified":"2020-05-31T05:29:31","modified_gmt":"2020-05-30T21:29:31","slug":"%e5%81%9a%e4%ba%86%e4%b8%80%e4%b8%aa%e4%bb%8e%e5%91%bd%e4%bb%a4%e8%a1%8c%e8%b0%83%e7%94%a8-python-%e5%87%bd%e6%95%b0%e7%9a%84%e5%b0%8f%e7%8e%a9%e5%85%b7","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=108279","title":{"rendered":"\u505a\u4e86\u4e00\u4e2a\u4ece\u547d\u4ee4\u884c\u8c03\u7528 Python \u51fd\u6570\u7684\u5c0f\u73a9\u5177"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u505a\u4e86\u4e00\u4e2a\u4ece\u547d\u4ee4\u884c\u8c03\u7528 Python \u51fd\u6570\u7684\u5c0f\u73a9\u5177               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : huntzhan <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u66f4\u591a\u7528\u6cd5\u89c1\uff1a https:\/\/github.com\/huntzhan\/fireball<\/p>\n<p>Basic usage:<\/p>\n<pre><code>$ fireball os:getcwd \/Users\/huntzhan\/Data\/Project\/personal\/fireball  $ fireball os.path:join 'foo' 'bar' foo\/bar  $ fireball base64:b64encode 'b\"foo\"' b'Zm9v <\/code><\/pre>\n<p>Help doc:<\/p>\n<pre><code>$ fireball base64:b64encode -- --help NAME     b64encode - Encode the bytes-like object s using Base64 and return a bytes object.  SYNOPSIS     b64encode S &lt;flags&gt;  DESCRIPTION     Optional altchars should be a byte string of length 2 which specifies an     alternative alphabet for the '+' and '\/' characters.  This allows an     application to e.g. generate url or filesystem safe Base64 strings.  POSITIONAL ARGUMENTS     S  FLAGS     --altchars=ALTCHARS     --pdb_on_error=PDB_ON_ERROR  NOTES     You can also use flags syntax for POSITIONAL ARGUMENTS <\/code><\/pre>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>8<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1804935\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : loonghk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             python \u5c31\u662f\u8fd9\u70b9\u597d\uff0c\u603b\u6709\u65b0\u8f6e\u5b50<\/p>\n<p>\u6211\u4e4b\u524d\u7528 fire \u5e93\uff0c\u73b0\u5728\u53ef\u4ee5\u6362\u4f60\u8fd9\u4e2a\u73a9\u73a9\u4e86                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1804936\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xingheng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u600e\u4e48\u89e3\u51b3\u7b2c\u4e09\u65b9\u4f9d\u8d56\u7684\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1804937\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : huntzhan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xingheng \u5177\u4f53\u662f\u4ec0\u4e48\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1804938\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : leishi1313 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @loonghk \u70b9\u8fdb\u53bb\u4e00\u770b\uff0c\u5c31\u662f\u7528 fire \u505a\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1804939\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : huntzhan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @leishi1313 hhhhhh                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1804940\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xingheng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @huntzhan \u6bd4\u5982\u8bf4\u6211\u60f3\u7528 requests \u53d1\u4e00\u4e2a\u6307\u5b9a URL \u53c2\u6570\u8bf7\u6c42\uff0c\u4f46\u662f\u73af\u5883\u91cc\u9762\u8fd8\u6ca1\u6709\u5b89\u88c5 requests \u4f9d\u8d56\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1804941\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ruanimal <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @huntzhan \u8fd8\u8bb0\u5f97 pybon \u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1804942\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : huntzhan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xingheng \u8fd9\u79cd\u60c5\u51b5\u5efa\u8bae\u624b\u52a8\u88c5 requests                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u505a\u4e86\u4e00\u4e2a\u4ece\u547d\u4ee4\u884c\u8c03\u7528 Python&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\/108279"}],"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=108279"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/108279\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=108279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=108279"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=108279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}