﻿{"id":197,"date":"2020-06-21T11:51:48","date_gmt":"2020-06-21T03:51:48","guid":{"rendered":"https:\/\/www.linux-dba.com\/?p=197"},"modified":"2020-07-02T15:54:14","modified_gmt":"2020-07-02T07:54:14","slug":"python%e5%91%bd%e5%90%8d%e8%a7%84%e8%8c%83","status":"publish","type":"post","link":"http:\/\/www.linux-dba.com\/index.php\/2020\/06\/197\/","title":{"rendered":"PYTHON\u547d\u540d\u89c4\u8303"},"content":{"rendered":"<p>1.\u9879\u76ee\u540d\u79f0<br \/>\n\u9996\u5b57\u6bcd\u5927\u5199+\u5927\u5199\u5f0f\u9a7c\u5cf0\uff0c<br \/>\nProjectName<\/p>\n<p>2.\u6a21\u5757\u540d\u548c\u5305\u540d<br \/>\n\u5168\u90e8\u5c0f\u5199+\u4e0b\u5212\u7ebf\u9a7c\u5cf0<br \/>\nmodule_name &nbsp;package_name<\/p>\n<p>3.\u7c7b\u540d\u79f0\uff0c\u5f02\u5e38<br \/>\n\u9996\u5b57\u6bcd\u5927\u5199+\u5927\u5199\u5f0f\u9a7c\u5cf0\uff0c<br \/>\nclass ClassName: &nbsp; \uff0cExceptionName<\/p>\n<p>4.\u5168\u5c40\u53d8\u91cf\u3001\u5e38\u91cf<br \/>\n\u5168\u90e8\u4f7f\u7528\u5927\u5199\u5b57\u6bcd+\u4e0b\u5212\u7ebf\u9a7c\u5cf0<br \/>\nGLOBAL_VAR_NAME\uff0cCONSTANT_NAME<\/p>\n<p>5.\u65b9\u6cd5\u540d\uff0c\u51fd\u6570\u540d\uff0c\u5176\u4f59\u53d8\u91cf\uff0c\u53c2\u6570\uff0c\u5b9e\u4f8b<br \/>\n\u5168\u90e8\u5c0f\u5199+\u4e0b\u5212\u7ebf\u9a7c\u5cf0<br \/>\nmethod_name\uff0cfunction_name\uff0cinstance_var_name, function_parameter_name, local_var_name<\/p>\n<p>6.\u5904\u7406\u8ba1\u6570\u5668\u5916\uff0c\u4e0d\u4f7f\u7528\u5355\u5b57\u6bcd\u547d\u540d<\/p>\n<p>\u8f6c\u5f55\u81ea\uff1ahttps:\/\/www.cnblogs.com\/determined\/p\/12035332.html<\/p>\n<p>\u6574\u7406\u65f6\u95f4\uff1a2020-05-08 10:15:00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u9879\u76ee\u540d\u79f0 \u9996\u5b57\u6bcd\u5927\u5199+\u5927\u5199\u5f0f\u9a7c\u5cf0\uff0c ProjectName 2.\u6a21\u5757\u540d\u548c\u5305\u540d \u5168\u90e8\u5c0f\u5199+\u4e0b\u5212\u7ebf\u9a7c\u5cf0 mod [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[38],"tags":[6,22],"_links":{"self":[{"href":"http:\/\/www.linux-dba.com\/index.php\/wp-json\/wp\/v2\/posts\/197"}],"collection":[{"href":"http:\/\/www.linux-dba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.linux-dba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.linux-dba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.linux-dba.com\/index.php\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":1,"href":"http:\/\/www.linux-dba.com\/index.php\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":269,"href":"http:\/\/www.linux-dba.com\/index.php\/wp-json\/wp\/v2\/posts\/197\/revisions\/269"}],"wp:attachment":[{"href":"http:\/\/www.linux-dba.com\/index.php\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.linux-dba.com\/index.php\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.linux-dba.com\/index.php\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}