{"id":24827,"date":"2020-02-14T10:14:41","date_gmt":"2020-02-14T02:14:41","guid":{"rendered":"http:\/\/4563.org\/?p=24827"},"modified":"2020-02-14T10:14:41","modified_gmt":"2020-02-14T02:14:41","slug":"%e6%b1%82%e6%96%b9%e4%be%bf%e7%9a%84%e5%a4%a7%e4%bd%ac%e7%bb%99%e6%88%91%e8%bf%90%e8%a1%8c%e4%b8%80%e4%b8%8bpython","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=24827","title":{"rendered":"\u6c42\u65b9\u4fbf\u7684\u5927\u4f6c\u7ed9\u6211\u8fd0\u884c\u4e00\u4e0bpyTHON"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>801N<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u6c42\u65b9\u4fbf\u7684\u5927\u4f6c\u7ed9\u6211\u8fd0\u884c\u4e00\u4e0bpyTHON<\/h3>\n<p>  \t\tcode=&#8217;114&amp;73&amp;55&amp;110&amp;69&amp;37&amp;53&amp;113&amp;'[:-1]&nbsp; &nbsp; # &quot;baseinfoSet_TELECOMPASSWORD&quot;:&quot;114&amp;73&amp;55&amp;110&amp;69&amp;37&amp;53&amp;113&amp;&quot;<br \/>  list=map(int,code.split(&#8216;&amp;&#8217;))<br \/>  result=[]<br \/>  for i in list:<br \/>  &nbsp; &nbsp; &nbsp; &nbsp; if i &gt; 57:<br \/>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i-=4<br \/>  &nbsp; &nbsp; &nbsp; &nbsp; result.append(chr(i))<br \/>  print (&#8221;.join(result))&nbsp; &nbsp; # output password:nE7jA%5m\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>801N<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6211\u81ea\u5df1\u8fd0\u884cPython 2.7.5 (default, Aug7 2019, 00:51:29) <br \/>   on linux2<br \/>  Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br \/>  &gt;&gt;&gt; code=&#8217;114&amp;73&amp;55&amp;110&amp;69&amp;37&amp;53&amp;113&amp;'[:-1]&nbsp; &nbsp; # &quot;baseinfoSet_TELECOMPASSWORD&quot;:&quot;114&amp;73&amp;55&amp;110&amp;69&amp;37&amp;53&amp;113&amp;&quot;<br \/>  &gt;&gt;&gt; list=map(int,code.split(&#8216;&amp;&#8217;))<br \/>  &gt;&gt;&gt; result=[]<br \/>  &gt;&gt;&gt; for i in list:<br \/>  &#8230;&nbsp; &nbsp;if i &gt; 57:<br \/>  &#8230;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; i-=4<br \/>  &#8230;&nbsp; &nbsp;result.append(chr(i))<br \/>  &#8230; print (&#8221;.join(result))&nbsp; &nbsp; # output password:nE7jA%5m<br \/>  File &quot;&lt;stdin&gt;&quot;, line 5<br \/>  &nbsp; &nbsp; print (&#8221;.join(result))&nbsp; &nbsp; # output password:nE7jA%5m<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;^<br \/>  SyntaxError: invalid syntax<br \/>  &gt;&gt;&gt;   \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>ibmall<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tPython 2.7 \u597d\u50cf\u662f<\/p>\n<p>  print &#8221;.join(result)) <\/p>\n<p>  \u6ca1\u8bd5\u8fc7\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>snx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tpython37 \u6b63\u5e38\u8fd0\u884c\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>801N \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u6c42\u65b9\u4fbf\u7684&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\/24827"}],"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=24827"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/24827\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24827"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}