{"id":981,"date":"2022-06-09T14:56:07","date_gmt":"2022-06-09T06:56:07","guid":{"rendered":"http:\/\/blog.xtaa.cn\/?p=981"},"modified":"2022-06-09T14:56:07","modified_gmt":"2022-06-09T06:56:07","slug":"%e7%bc%96%e7%a8%8b%e8%b5%84%e6%ba%90","status":"publish","type":"post","link":"http:\/\/blog.xtaa.cn\/index.php\/2022\/06\/09\/%e7%bc%96%e7%a8%8b%e8%b5%84%e6%ba%90\/","title":{"rendered":"\u7f16\u7a0b\u8d44\u6e90&#038;&#038;Python\u5e38\u7528\u5e93"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>https:\/\/github.com\/vipstone\/faceai                 python\u7684AI\u4eba\u8138\u8bc6\u522b\u7b49<br>https:\/\/blog.csdn.net\/SGDBS233\/article\/details\/119192444           JS\u5e93D3\u4f7f\u7528\u4ecb\u7ecd<br>echarts.apache.org                      \u767e\u5ea6\u56fe\u8868  JS\u5e93echarts<br>https:\/\/www.jianshu.com\/p\/e81a1ee6dca3                  \u7528JS\u5b9e\u73b0\u76843D\u6548\u679c\u5e93threejs\u4ecb\u7ecd<\/p>\n\n\n\n<p><a href=\"https:\/\/baijiahao.baidu.com\/s?id=1703444220257145031&amp;wfr=spider&amp;for=pc\">superset<\/a>      python\u8f7b\u91cf\u7ea7\u5f00\u6e90\u53ef\u89c6\u5316BI\u5de5\u5177<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Python\u5e38\u7528\u5e93<\/strong><\/p>\n\n\n\n<p>\uff081\uff09python\u6a21\u5757\uff1a\u5305\u542b\u5e76\u4e14\u6709\u7ec4\u7ec7\u7684\u4ee3\u7801\u7247\u6bb5\u4e3a\u6a21\u5757\u3002\u8868\u73b0\u5f62\u5f0f\u4e3a\uff1a\u5199\u7684\u4ee3\u7801\u4fdd\u5b58\u4e3a\u6587\u4ef6\u3002\u8fd9\u4e2a\u6587\u4ef6\u5c31\u662f\u4e00\u4e2a\u6a21\u5757\u3002a.py \u5176\u4e2d\u6587\u4ef6\u540da\u4e3a\u6a21\u5757\u540d\u5b57\u3002<br>\uff082\uff09python\u5305\u662f\u4e00\u4e2a\u6709\u5c42\u6b21\u7684\u6587\u4ef6\u76ee\u5f55\u7ed3\u6784\uff0c\u5b83\u5b9a\u4e49\u4e86\u7531n\u4e2a\u6a21\u5757\u6216n\u4e2a\u5b50\u5305\u7ec4\u6210\u7684python\u5e94\u7528\u7a0b\u5e8f\u6267\u884c\u73af\u5883\u3002\u901a\u4fd7\u4e00\u70b9\uff1a\u5305\u662f\u4e00\u4e2a\u5305\u542b<strong>init<\/strong>.py \u6587\u4ef6\u7684\u76ee\u5f55\uff0c\u8be5\u76ee\u5f55\u4e0b\u4e00\u5b9a\u5f97\u6709\u8fd9\u4e2a<strong>init<\/strong>.py\u6587\u4ef6\u548c\u5176\u5b83\u6a21\u5757\u6216\u5b50\u5305\u3002<br>\uff083\uff09\u5e93\u7684\u6982\u5ff5\u662f\u5177\u6709\u76f8\u5173\u529f\u80fd\u6a21\u5757\u7684\u96c6\u5408\u3002\u8fd9\u4e5f\u662fPython\u7684\u4e00\u5927\u7279\u8272\u4e4b\u4e00\uff0c\u5373\u5177\u6709\u5f3a\u5927\u7684\u6807\u51c6\u5e93\u3001\u7b2c\u4e09\u65b9\u5e93\u4ee5\u53ca\u81ea\u5b9a\u4e49\u6a21\u5757\u3002<\/p>\n\n\n\n<p><strong>GUI\u56fe\u5f62\u754c\u9762<\/strong><\/p>\n\n\n\n<p>wxPython\u662fPython\u8bed\u8a00\u7684\u4e00\u5957\u4f18\u79c0\u7684GUI\u56fe\u5f62\u5e93\u3002\u5141\u8bb8Python\u7a0b\u5e8f\u5458\u5f88\u65b9\u4fbf\u7684\u521b\u5efa\u5b8c\u6574\u7684\u3001\u529f\u80fd\u952e\u5168\u7684GUI\u7528\u6237\u754c\u9762\u3002 wxPython\u662f\u4f5c\u4e3a\u4f18\u79c0\u7684\u8de8\u5e73\u53f0GUI\u5e93wxWidgets\u7684Python\u5c01\u88c5\u548cPython\u6a21\u5757\u7684\u65b9\u5f0f\u63d0\u4f9b\u7ed9\u7528\u6237\u7684\u3002<\/p>\n\n\n\n<p><strong>WEB\u6846\u67b6<\/strong><\/p>\n\n\n\n<p>Django\u662f\u4e00\u4e2a\u5f00\u653e\u6e90\u4ee3\u7801\u7684Web\u5e94\u7528\u6846\u67b6\uff0c\u7531Python\u5199\u6210\u3002 \u662fPython\u751f\u6001\u4e2d\u6700\u6d41\u884c\u7684\u5f00\u6e90Web\u5e94\u7528\u6846\u67b6\uff0cDjango\u91c7\u7528\u6a21\u578b\u3001\u6a21\u677f\u548c\u89c6\u56fe\u7684\u7f16\u5199\u6a21\u5f0f\uff0c\u79f0\u4e3aMTV\u6a21\u5f0f\u3002<\/p>\n\n\n\n<p>Flask\u662f\u8f7b\u91cf\u7ea7Web\u5e94\u7528\u6846\u67b6\uff0c\u76f8\u6bd4Django\u548cPyramid\uff0c\u5b83\u4e5f\u88ab\u79f0\u4e3a\u5fae\u6846\u67b6\u3002\u4f7f\u7528Flask\u5f00\u53d1Web\u5e94\u7528\u5341\u5206\u65b9\u4fbf\uff0c\u751a\u81f3\u51e0\u884c\u4ee3\u7801\u5373\u53ef\u5efa\u7acb\u4e00\u4e2a\u5c0f\u578b\u7f51\u7ad9\u3002Flask\u6838\u5fc3\u5341\u5206\u7b80\u5355\uff0c\u5e76\u4e0d\u76f4\u63a5\u5305\u542b\u8bf8\u5982\u6570\u636e\u5e93\u8bbf\u95ee\u7b49\u7684\u62bd\u8c61\u8bbf\u95ee\u5c42\uff0c\u800c\u662f\u901a\u8fc7\u6269\u5c55\u6a21\u5757\u5f62\u5f0f\u6765\u652f\u6301\u3002<\/p>\n\n\n\n<p><strong>\u79d1\u5b66\u8ba1\u7b97\u53ca\u6570\u636e\u5206\u6790\u5904\u7406\u53ca\u53ef\u89c6\u5316<\/strong><\/p>\n\n\n\n<p>NumPy \u662f\u4f7f\u7528 Python \u8fdb\u884c\u79d1\u5b66\u8ba1\u7b97\u6240\u9700\u7684\u57fa\u7840\u5305\u3002\u7528\u6765\u5b58\u50a8\u548c\u5904\u7406\u5927\u578b\u77e9\u9635\uff0c\u5982\u77e9\u9635\u8fd0\u7b97\u3001\u77e2\u91cf\u5904\u7406\u3001N\u7ef4\u6570\u636e\u53d8\u6362\u7b49\u3002<\/p>\n\n\n\n<p>Matplotlib&nbsp;\u662f\u4e00\u4e2a Python \u7684 2D\u7ed8\u56fe\u5e93<\/p>\n\n\n\n<p>SciPy\uff1a\u7b97\u6cd5\u548c\u6570\u636e\u5de5\u5177\u96c6<\/p>\n\n\n\n<p><strong>\u722c\u866b\u76f8\u5173<\/strong><br>requests\u5bf9HTTP\u534f\u8bae\u8fdb\u884c\u9ad8\u5ea6\u5c01\u88c5\uff0c\u652f\u6301\u975e\u5e38\u4e30\u5bcc\u7684\u94fe\u63a5\u8bbf\u95ee\u529f\u80fd\u3002<\/p>\n\n\n\n<p>scrapy\u5f88\u5f3a\u5927\u7684\u722c\u866b\u6846\u67b6\uff0c\u7528\u4e8e\u6293\u53d6\u7f51\u7ad9\u5e76\u4ece\u5176\u9875\u9762\u4e2d\u63d0\u53d6\u7ed3\u6784\u5316\u6570\u636e\u3002\u53ef\u7528\u4e8e\u4ece\u6570\u636e\u6316\u6398\u5230\u76d1\u63a7\u548c\u81ea\u52a8\u5316\u6d4b\u8bd5\u7684\u5404\u79cd\u7528\u9014\u3002<\/p>\n\n\n\n<p>pyspider\u662f\u4e00\u4e2a\u56fd\u4eba\u7f16\u5199\u7684\u5f3a\u5927\u7684\u7f51\u7edc\u722c\u866b\u7cfb\u7edf\u5e76\u5e26\u6709\u5f3a\u5927\u7684WebUI\u3002<\/p>\n\n\n\n<p>bs4-beautifulsoup4\u5e93\u662f\u7528\u4e8e\u89e3\u6790\u548c\u5904\u7406HTML\u548cXML\u3002<\/p>\n\n\n\n<p>Crawley\u662f\u7528\u6765\u9ad8\u901f\u722c\u53d6\u5bf9\u5e94\u7f51\u7ad9\u7684\u5185\u5bb9\uff0c\u652f\u6301\u5173\u7cfb\u548c\u975e\u5173\u7cfb\u6570\u636e\u5e93\uff0c\u6570\u636e\u53ef\u4ee5\u5bfc\u51fa\u4e3aJSON\u3001XML\u7b49\u3002<\/p>\n\n\n\n<p>Portia\u662f\u53ef\u89c6\u5316\u722c\u53d6\u7f51\u9875\u5185\u5bb9\u3002<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">webbrowser<\/h6>\n\n\n\n<p>\u3010\u6807\u51c6\u5e93\u3011<\/p>\n\n\n\n<p>\u64cd\u7eb5\u5f53\u524d\u7cfb\u7edf\u7684\u9ed8\u8ba4\u6d4f\u89c8\u5668\uff0c\u8bbf\u95ee\u6307\u5b9a URL \u7684\u9875\u9762\u3002<\/p>\n\n\n\n<p>\u4ee3\u7801\u793a\u4f8b\u2014\u2014\u7528\u9ed8\u8ba4\u6d4f\u89c8\u5668\u6253\u5f00 Google \u4e3b\u9875<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import webbrowser\nwebbrowser.open(\"http:\/\/www.google.com\")<\/pre>\n\n\n\n<p><strong>\u673a\u5668\u5b66\u4e60<\/strong><\/p>\n\n\n\n<p>NLTK\u662f\u4e00\u4e2a\u81ea\u7136\u8bed\u8a00\u5904\u7406\u7684\u7b2c\u4e09\u65b9\u5e93\uff0cNLP\u9886\u57df\u4e2d\u5e38\u7528\uff0c\u53ef\u5efa\u7acb\u8bcd\u888b\u6a21\u578b\uff08\u5355\u8bcd\u8ba1\u6570\uff09\uff0c\u652f\u6301\u8bcd\u9891\u5206\u6790\uff08\u5355\u8bcd\u51fa\u73b0\u6b21\u6570\uff09\u3001\u6a21\u5f0f\u8bc6\u522b\u3001\u5173\u8054\u5206\u6790\u3001\u60c5\u611f\u5206\u6790\uff08\u8bcd\u9891\u5206\u6790+\u5ea6\u91cf\u6307\u6807\uff09\u3001\u53ef\u89c6\u5316\uff08+matploylib\u505a\u5206\u6790\u56fe\uff09\u7b49<\/p>\n\n\n\n<p>TensorFlow\u662f\u8c37\u6b4c\u7684\u7b2c\u4e8c\u4ee3\u673a\u5668\u5b66\u4e60\u7cfb\u7edf<\/p>\n\n\n\n<p>Keras \u662f\u4e00\u4e2a\u9ad8\u7ea7\u795e\u7ecf\u7f51\u7edc API\uff0c\u7528 Python \u7f16\u5199\uff0c\u80fd\u591f\u5728 TensorFlow\uff0cCNTK \u6216 Theano \u4e4b\u4e0a\u8fd0\u884c\u3002\u5b83\u65e8\u5728\u5b9e\u73b0\u5feb\u901f\u5b9e\u9a8c\uff0c\u80fd\u591f\u4ee5\u6700\u5c0f\u7684\u5ef6\u8fdf\u628a\u60f3\u6cd5\u53d8\u6210\u7ed3\u679c\uff0c\u8fd9\u662f\u8fdb\u884c\u7814\u7a76\u7684\u5173\u952e\u3002\u201d<br>Caffe\u662f\u4e00\u4e2a\u6df1\u5ea6\u5b66\u4e60\u6846\u67b6\uff0c\u4e3b\u8981\u7528\u4e8e\u8ba1\u7b97\u673a\u89c6\u89c9\uff0c\u5b83\u5bf9\u56fe\u50cf\u8bc6\u522b\u7684\u5206\u7c7b\u5177\u6709\u5f88\u597d\u7684\u5e94\u7528\u6548\u679c\u3002<\/p>\n\n\n\n<p>theano\u662f\u6df1\u5ea6\u5b66\u4e60\u5e93\u3002<br><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u529e\u516c\u81ea\u52a8\u5316<\/strong><br>XlsxWriter-\u64cd\u4f5cExcel\u5de5\u4f5c\u8868\u7684\u6587\u5b57\uff0c\u6570\u5b57\uff0c\u516c\u5f0f\uff0c\u56fe\u8868\u7b49<\/p>\n\n\n\n<p>smtplib-\u53d1\u9001\u7535\u5b50\u90ae\u4ef6\u6a21\u5757<\/p>\n\n\n\n<p>selenium-\u4e00\u4e2a\u8c03\u7528\u6d4f\u89c8\u5668\u7684driver\uff0c\u901a\u8fc7\u8fd9\u4e2a\u5e93\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528\u6d4f\u89c8\u5668\u5b8c\u6210\u67d0\u4e9b\u64cd\u4f5c\uff0c\u6bd4\u5982\u8f93\u5165\u9a8c\u8bc1\u7801\uff0c\u5e38\u7528\u6765\u8fdb\u884c\u6d4f\u89c8\u5668\u7684\u81ea\u52a8\u5316\u5de5\u4f5c<\/p>\n\n\n\n<p>pdfminer-\u4e00\u4e2a\u53ef\u4ee5\u4ecePDF\u6587\u6863\u4e2d\u63d0\u53d6\u5404\u7c7b\u4fe1\u606f\u7684\u7b2c\u4e09\u65b9\u5e93<\/p>\n\n\n\n<p>pywin32:\u4e0ewindows\u4ea4\u4e92\u7684<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u5176\u5b83<\/strong><\/p>\n\n\n\n<p>pillow\uff1a\u662fPIL\u7684\u53cb\u597d\u5206\u652f\uff0c\u66f4\u53cb\u597d<\/p>\n\n\n\n<p>Twisted:\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6700\u91cd\u8981\u7684\u5de5\u5177<\/p>\n\n\n\n<p>Pygame:2D\u6e38\u620f\u5f00\u53d1<\/p>\n\n\n\n<p>Pyglet:3D\u52a8\u753b\u548c\u6e38\u620f\u521b\u4f5c\u5f15\u64ce<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u8fd8\u6709\u5176\u5b83\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/csy512889371\/learnDoc\/blob\/master\/wiki\/python.wiki#111_-2\">https:\/\/github.com\/csy512889371\/learnDoc\/blob\/master\/wiki\/python.wiki#111_-2<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/github.com\/vipstone\/faceai python\u7684AI\u4eba\u8138\u8bc6\u522b\u7b49https: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-981","post","type-post","status-publish","format-standard","hentry","category-10"],"_links":{"self":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/posts\/981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/comments?post=981"}],"version-history":[{"count":0,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/posts\/981\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/media?parent=981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/categories?post=981"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/tags?post=981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}