{"id":178506,"date":"2023-08-03T19:01:36","date_gmt":"2023-08-03T11:01:36","guid":{"rendered":"http:\/\/www.idc.net\/help\/178506\/"},"modified":"2023-08-03T19:01:36","modified_gmt":"2023-08-03T11:01:36","slug":"%e5%90%8e%e6%b5%aa%e4%ba%91python%e6%95%99%e7%a8%8b%ef%bc%9apython%e6%9c%89%e4%bb%80%e4%b9%88%e4%bc%98%e5%8a%bf","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/178506\/","title":{"rendered":"\u540e\u6d6a\u4e91Python\u6559\u7a0b\uff1apython\u6709\u4ec0\u4e48\u4f18\u52bf"},"content":{"rendered":"<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/oss.py.cn\/pycn\/upload\/article\/000\/000\/004\/5d709ce01374f440.jpg\" class=\"aligncenter\"><\/p>\n<p>Python\u662f\u4e00\u95e8\u7b80\u5355\u6613\u5b66\u7684\u7f16\u7a0b\u8bed\u8a00\u3002\u9605\u8bfb\u597d\u7684Python\u7a0b\u5e8f\u611f\u89c9\u5c31\u50cf\u9605\u8bfb\u82f1\u8bed\uff0c\u5c3d\u7ba1\u662f\u975e\u5e38\u4e25\u683c\u7684\u82f1\u8bed\u3002Python\u7684\u8fd9\u79cd\u4f2a\u4ee3\u7801\u7279\u6027\u662f\u5176\u5f3a\u9879\u4e4b\u4e00\uff0c\u5b83\u53ef\u8ba9\u4f60\u4e13\u6ce8\u4e8e\u89e3\u51b3\u95ee\u9898\u7684\u529e\u6cd5\u800c\u4e0d\u662f\u8bed\u8a00\u672c\u8eab\u3002python\u7684\u7528\u9014\u548c\u4f18\u70b9\u90fd\u6709\u4ec0\u4e48\u5462\uff1f<\/p>\n<p>Python\u7f16\u7a0b\u8bed\u8a00\u5f00\u53d1\u5feb\uff0c\u8bed\u8a00\u7b80\u6d01\uff0c\u6ca1\u90a3\u4e48\u591a\u6280\u5de7\uff0c\u6240\u4ee5\u8bfb\u8d77\u6765\u5f88\u6e05\u695a\u5bb9\u6613\uff01<\/p>\n<p>ython\u7684\u7528\u9014\uff1aPython\u5b83\u901a\u5e38\u5e94\u7528\u4e8e\u5404\u79cd\u9886\u57df\uff0c\u662f\u4e00\u79cd\u901a\u7528\u8bed\u8a00\uff0c\u65e0\u8bba\u662f\u4ece\u7f51\u7ad9\u3001\u6e38\u620f\u5f00\u53d1\u3001\u673a\u5668\u4eba\uff0c\u4eba\u5de5\u667a\u80fd\uff0c\u5927\u6570\u636e\uff0c\u4e91\u8ba1\u7b97\u6216\u662f\u4e00\u4e9b\u9ad8\u79d1\u6280\u7684\u822a\u5929\u98de\u673a\u63a7\u5236\u90fd\u53ef\u4ee5\u7528\u5230python\u8bed\u8a00\u3002<\/p>\n<p><strong>\u90a3\u4e48python\u7684\u4f18\u70b9\u662f\u4ec0\u4e48\u5462\uff1f<\/strong><\/p>\n<p>1\u3001\u867d\u7136Python\u53ef\u80fd\u88ab\u7c97\u7565\u5730\u5206\u7c7b\u4e3a\"\u811a\u672c\u8bed\u8a00\"(script language)\uff0c\u4f46\u5b9e\u9645\u4e0a\u4e00\u4e9b\u5927\u89c4\u6a21\u8f6f\u4ef6\u5f00\u53d1\u8ba1\u5212\u4f8b\u5982Zope\u3001Mnet\u53caBitTorrent\uff0cGoogle\u4e5f\u5e7f\u6cdb\u5730\u4f7f\u7528\u5b83\u3002Python\u7684\u652f\u6301\u8005\u8f83\u559c\u6b22\u79f0\u5b83\u4e3a\u4e00\u79cd\u9ad8\u7ea7\u52a8\u6001\u7f16\u7a0b\u8bed\u8a00\uff0c\u539f\u56e0\u662f\"\u811a\u672c\u8bed\u8a00\"\u6cdb\u6307\u4ec5\u4f5c\u7b80\u5355\u7a0b\u5e8f\u8bbe\u8ba1\u4efb\u52a1\u7684\u8bed\u8a00\uff0c\u5982shellscript\u3001VBScript\u7b49\u53ea\u80fd\u5904\u7406\u7b80\u5355\u4efb\u52a1\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u5e76\u4e0d\u80fd\u4e0ePython\u76f8\u63d0\u5e76\u8bba\u3002<\/p>\n<p>2\u3001python\u4e25\u683c\u8bf4\u53ebCPython\uff0c\u4e0eC\/c++\u6709\u5929\u7136\u7684\u878d\u5408\u6027\u3002\u8fd9\u4e5f\u662fpython\u5f3a\u5927\u7684\u539f\u56e0\u4e4b\u4e00\u3002\u5728windows\u73af\u5883\u4e0b\u53ef\u4ee5\u4f7f\u7528ironpython\uff0c\u8fd9\u4e2a\u7248\u672c\u4e0evc\u53ef\u4ee5\u7ed3\u5408\u7684\u6bd4\u8f83\u597d\u3002\u5176\u5b83\u7684\u5e73\u53f0\u53ef\u4ee5\u4f7f\u7528eclipse\uff0c\u4e0d\u8fc7\u6700\u597d\u8fd8\u662f\u76f4\u63a5\u4f7f\u7528\u666e\u901a\u7684\u6587\u672c\u7f16\u8f91\u5668\u3002\u6bd4\u8f83\u63a8\u8350\u7684\u4e00\u4e2a\u7f16\u8f91\u5668\u662fsublime text2, geany, vi\u7b49\u3002<\/p>\n<p>3\u3001python\u56fe\u5f62\u5316\u7f16\u7a0b\u4e0d\u96be\u3002\u5f53\u7136MFC\u4e5f\u4e0d\u96be\u3002\u6211\u4e0d\u8ba4\u4e3aMFC\u6709\u591a\u96be\u3002\u5176\u5b9e\u5b66\u4e60\u8d77\u6765\u53ea\u662f\u7565\u96be\uff0c\u4f46\u662f\u8fd9\u4e0d\u662f\u4e00\u4e2a\u6570\u91cf\u7ea7\u7684\u3002MFC\u53ef\u4ee5\u751f\u4ea7\u51fa\u975e\u5e38\u5f3a\u52b2\u7684\u754c\u9762\u3002\u800cpython\u754c\u9762\u591a\u5c5e\u4e8e\u7b80\u5355\u7684\u3002<\/p>\n<p>4\u3001Python\u672c\u8eab\u88ab\u8bbe\u8ba1\u4e3a\u53ef\u6269\u5145\u7684\u3002\u5e76\u975e\u6240\u6709\u7684\u7279\u6027\u548c\u529f\u80fd\u90fd\u96c6\u6210\u5230\u8bed\u8a00\u6838\u5fc3\u3002Python\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684API\u548c\u5de5\u5177\uff0c\u4ee5\u4fbf\u7a0b\u5e8f\u5458\u80fd\u591f\u8f7b\u677e\u5730\u4f7f\u7528C\u8bed\u8a00\u3001C++\u3001Cython\u6765\u7f16\u5199\u6269\u5145\u6a21\u5757\u3002Python\u7f16\u8bd1\u5668\u672c\u8eab\u4e5f\u53ef\u4ee5\u88ab\u96c6\u6210\u5230\u5176\u5b83\u9700\u8981\u811a\u672c\u8bed\u8a00\u7684\u7a0b\u5e8f\u5185\u3002<\/p>\n<p>5\u3001\u5728\u8bbe\u8ba1Python\u8bed\u8a00\u65f6\uff0c\u5982\u679c\u9762\u4e34\u591a\u79cd\u9009\u62e9\uff0cPython\u5f00\u53d1\u8005\u4e00\u822c\u4f1a\u62d2\u7edd\u82b1\u4fcf\u7684\u8bed\u6cd5\uff0c\u800c\u9009\u62e9\u660e\u786e\u7684\u6ca1\u6709\u6216\u8005\u5f88\u5c11\u6709\u6b67\u4e49\u7684\u8bed\u6cd5\u3002\u7531\u4e8e\u8fd9\u79cd\u8bbe\u8ba1\u89c2\u5ff5\u7684\u5dee\u5f02\uff0cPython\u6e90\u4ee3\u7801\u901a\u5e38\u88ab\u8ba4\u4e3a\u6bd4Perl\u5177\u5907\u66f4\u597d\u7684\u53ef\u8bfb\u6027\uff0c\u5e76\u4e14\u80fd\u591f\u652f\u6491\u5927\u89c4\u6a21\u7684\u8f6f\u4ef6\u5f00\u53d1\u3002\u8fd9\u4e9b\u51c6\u5219\u88ab\u79f0\u4e3aPython\u683c\u8a00\u3002\u5728Python\u89e3\u91ca\u5668\u5185\u8fd0\u884cimport this\u53ef\u4ee5\u83b7\u5f97\u5b8c\u6574\u7684\u5217\u8868\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\u662f\u4e00\u95e8\u7b80\u5355\u6613\u5b66\u7684\u7f16\u7a0b\u8bed\u8a00\u3002\u9605\u8bfb\u597d\u7684Python\u7a0b\u5e8f\u611f\u89c9\u5c31\u50cf\u9605\u8bfb\u82f1\u8bed\uff0c\u5c3d\u7ba1\u662f\u975e\u5e38\u4e25\u683c\u7684\u82f1\u8bed\u3002Pyth [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":178507,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[182397],"tags":[],"class_list":["post-178506","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/178506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=178506"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/178506\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media\/178507"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=178506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=178506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=178506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}