{"id":50084,"date":"2024-12-03T14:53:15","date_gmt":"2024-12-03T06:53:15","guid":{"rendered":"https:\/\/fwq.ai\/blog\/50084\/"},"modified":"2024-12-03T14:53:15","modified_gmt":"2024-12-03T06:53:15","slug":"%e5%a6%82%e4%bd%95%e5%af%b9%e9%bd%90%e5%8c%85%e5%90%ab%e7%94%a8%e6%88%b7%e7%99%bb%e5%bd%95%e6%95%b0%e6%8d%ae%e7%9a%84%e7%ba%af%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6%e4%b8%ad%e7%9a%84%e5%88%97%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/50084\/","title":{"rendered":"\u5982\u4f55\u5bf9\u9f50\u5305\u542b\u7528\u6237\u767b\u5f55\u6570\u636e\u7684\u7eaf\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217\uff1f"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>\u5982\u4f55\u5bf9\u9f50\u5305\u542b\u7528\u6237\u767b\u5f55\u6570\u636e\u7684\u7eaf\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217\uff1f<\/h1>\n<p>\u4e0d\u77e5\u9053\u5927\u5bb6\u662f\u5426\u719f\u6089\uff1f\u4eca\u5929\u6211\u5c06\u7ed9\u5927\u5bb6\u4ecb\u7ecd<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300a\u5982\u4f55\u5bf9\u9f50\u5305\u542b\u7528\u6237\u767b\u5f55\u6570\u636e\u7684\u7eaf\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217\uff1f\u300b<\/span>\uff0c\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4f1a\u8bb2\u5230<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\u7b49\u7b49\u77e5\u8bc6\u70b9\uff0c\u5982\u679c\u4f60\u5728\u770b\u5b8c\u672c\u7bc7\u6587\u7ae0\u540e\uff0c\u6709\u66f4\u597d\u7684\u5efa\u8bae\u6216\u8005\u53d1\u73b0\u54ea\u91cc\u6709\u95ee\u9898\uff0c\u5e0c\u671b\u5927\u5bb6\u90fd\u80fd\u79ef\u6781\u8bc4\u8bba\u6307\u51fa\uff0c\u8c22\u8c22\uff01\u5e0c\u671b\u6211\u4eec\u80fd\u4e00\u8d77\u52a0\u6cb9\u8fdb\u6b65\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241111\/1731302132673192f447587.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5bf9\u9f50\u5305\u542b\u7528\u6237\u767b\u5f55\u6570\u636e\u7684\u7eaf\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217\uff1f\u63d2\u56fe\" alt=\"\u5982\u4f55\u5bf9\u9f50\u5305\u542b\u7528\u6237\u767b\u5f55\u6570\u636e\u7684\u7eaf\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5bf9\u9f50\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217<\/strong><\/p>\n<p><strong>\u95ee\u9898\uff1a<\/strong><\/p>\n<p>\u5982\u4f55\u5bf9\u9f50\u5305\u542b\u7528\u6237\u767b\u5f55\u6570\u636e\u7684\u7eaf\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217\uff1f\u6587\u672c\u6570\u636e\u5982\u4e0b\uff1a<\/p>\n<pre>dtrapani  hcpd-epd-3687  mon  05\/13\/2013    9:47:01.72\ndlibby  hcpd-cos-4611  mon  05\/13\/2013    9:49:34.55\nlmurdoch  hcpd-sddeb-3736  mon  05\/13\/2013    9:50:38.48\nlpatrick  hcpd-win7-015  mon  05\/13\/2013    9:57:44.57\nmlay  hcpd-war-3744  mon  05\/13\/2013  10:00:07.94\neyoung  hcpd-nlcc-0645  mon  05\/13\/2013  10:03:01.83<\/pre>\n<p>\u9700\u8981\u5c06\u6570\u636e\u8f93\u51fa\u5230\u5de6\u5bf9\u9f50\u548c\u53f3\u5bf9\u9f50\u7684\u5217\u4e2d\uff1a<\/p>\n<pre>dtrapani  hcpd-epd-3687    mon  05\/13\/2013    9:47:01.72\ndlibby    hcpd-cos-4611    mon  05\/13\/2013    9:49:34.55\nlmurdoch  hcpd-sddeb-3736  mon  05\/13\/2013    9:50:38.48\nlpatrick  hcpd-win7-015    mon  05\/13\/2013    9:57:44.57\nmlay      hcpd-war-3744    mon  05\/13\/2013   10:00:07.94\neyoung    hcpd-nlcc-0645   mon  05\/13\/2013   10:03:01.83<\/pre>\n<p><strong>\u89e3\u7b54\uff1a<\/strong><\/p>\n<p>\u4f7f\u7528\u65b0\u7684 python \u6253\u5370\u683c\u5f0f\u5316\u7a0b\u5e8f\uff08\u5047\u8bbe\u5b57\u6bb5\u662f\u4e00\u81f4\u7684\uff09\uff1a<\/p>\n<pre>with open(r'C:\\path\\to\\logons.txt', 'r') as f:\n    for line in f:\n        data = line.split()    # Splits on whitespace\n        print('{0[0]:&amp;lt;15}{0[1]:&amp;lt;15}{0[2]:&amp;lt;5}{0[3]:&amp;lt;15}{0[4]:&amp;gt;15}'.format(data))<\/pre>\n<p>\u8fd9\u5c06\u4f7f\u7528\u79f0\u4e3a\u5360\u4f4d\u7b26\u683c\u5f0f\u5b57\u7b26\u4e32\u7684\u7279\u6b8a\u8bed\u6cd5\u6765\u5bf9\u9f50\u6570\u636e\uff1a<\/p>\n<ul>\n<li>:&lt; \u5de6\u5bf9\u9f50<\/li>\n<li>:&gt; \u53f3\u5bf9\u9f50<\/li>\n<li>:&lt;15 \u5c06\u5b57\u6bb5\u9650\u5236\u4e3a 15 \u4e2a\u5b57\u7b26\u7684\u5de6\u5bf9\u9f50<\/li>\n<li>:15&gt; \u5c06\u5b57\u6bb5\u53f3\u5bf9\u9f50\uff0c\u957f\u5ea6\u4e3a 15 \u4e2a\u5b57\u7b26<\/li>\n<\/ul>\n<p>\u4eca\u5929\u5173\u4e8e\u300a\u5982\u4f55\u5bf9\u9f50\u5305\u542b\u7528\u6237\u767b\u5f55\u6570\u636e\u7684\u7eaf\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217\uff1f\u300b\u7684\u5185\u5bb9\u5c31\u4ecb\u7ecd\u5230\u8fd9\u91cc\u4e86\uff0c\u662f\u4e0d\u662f\u5b66\u8d77\u6765\u4e00\u76ee\u4e86\u7136\uff01\u60f3\u8981\u4e86\u89e3\u66f4\u591a\u5173\u4e8e\u7684\u5185\u5bb9\u8bf7\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u4f55\u5bf9\u9f50\u5305\u542b\u7528\u6237\u767b\u5f55\u6570\u636e\u7684\u7eaf\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217\uff1f \u4e0d\u77e5\u9053\u5927\u5bb6\u662f\u5426\u719f\u6089\uff1f\u4eca\u5929\u6211\u5c06\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u300a\u5982\u4f55\u5bf9\u9f50\u5305\u542b\u7528\u6237\u767b\u5f55\u6570\u636e\u7684\u7eaf\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217\uff1f\u300b\uff0c\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4f1a\u8bb2\u5230\u7b49\u7b49\u77e5\u8bc6\u70b9\uff0c\u5982\u679c\u4f60\u5728\u770b\u5b8c\u672c\u7bc7\u6587\u7ae0\u540e\uff0c\u6709\u66f4\u597d\u7684\u5efa\u8bae\u6216\u8005\u53d1\u73b0\u54ea\u91cc\u6709\u95ee\u9898\uff0c\u5e0c\u671b\u5927\u5bb6\u90fd\u80fd\u79ef\u6781\u8bc4\u8bba\u6307\u51fa\uff0c\u8c22\u8c22\uff01\u5e0c\u671b\u6211\u4eec\u80fd\u4e00\u8d77\u52a0\u6cb9\u8fdb\u6b65\uff01 \u5bf9\u9f50\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217 \u95ee\u9898\uff1a \u5982\u4f55\u5bf9\u9f50\u5305\u542b\u7528\u6237\u767b\u5f55\u6570\u636e\u7684\u7eaf\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u5217\uff1f\u6587\u672c\u6570\u636e\u5982\u4e0b\uff1a dtrapani hcpd-epd-3687 mon 05\/13\/2013 9:47:01.72 dlibby hcpd-cos-4611 mon 05\/13\/2013 9:49:34.55 lmurdoch hcpd-sddeb-3736 mon 05\/13\/2013 9:50:38.48 lpatrick hcpd-win7-015 mon 05\/13\/2013 9:57:44.57 mlay hcpd-war-3744 mon 05\/13\/2013 10:00:07.94 eyoung hcpd-nlcc-0645 mon 05\/13\/2013 10:03:01.83 \u9700\u8981\u5c06\u6570\u636e\u8f93\u51fa\u5230\u5de6\u5bf9\u9f50\u548c\u53f3\u5bf9\u9f50\u7684\u5217\u4e2d\uff1a dtrapani hcpd-epd-3687 mon 05\/13\/2013 9:47:01.72 dlibby hcpd-cos-4611 mon 05\/13\/2013 9:49:34.55 lmurdoch hcpd-sddeb-3736 mon 05\/13\/2013 9:50:38.48 lpatrick hcpd-win7-015 mon 05\/13\/2013 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-50084","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/50084","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=50084"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/50084\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=50084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=50084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=50084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}