{"id":95376,"date":"2026-08-26T10:48:48","date_gmt":"2026-08-26T02:48:48","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/95376.html"},"modified":"2026-08-26T10:48:48","modified_gmt":"2026-08-26T02:48:48","slug":"%e5%8e%8b%e7%94%b5%e6%89%a7%e8%a1%8c%e5%99%a8%e5%8a%a8%e6%80%81%e5%88%9a%e5%ba%a6%e6%80%8e%e4%b9%88%e6%b5%8b%ef%bc%9f%e9%a2%91%e7%8e%87%e3%80%81%e8%b4%9f%e8%bd%bd%e4%b8%8epython%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/95376.html","title":{"rendered":"\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u600e\u4e48\u6d4b\uff1f\u9891\u7387\u3001\u8d1f\u8f7d\u4e0ePython\u5206\u6790"},"content":{"rendered":"<h3>\u6458\u8981<\/h3>\n<p>\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u662f\u7279\u5b9a\u9891\u7387\u3001\u8d1f\u8f7d\u3001\u4f4d\u79fb\u5e45\u503c\u548c\u8fb9\u754c\u6761\u4ef6\u4e0b&#xff0c;\u529b\u53d8\u5316\u4e0e\u4f4d\u79fb\u53d8\u5316\u7684\u9891\u57df\u6bd4\u503c\u3002\u5b83\u4e0d\u80fd\u7528\u4e00\u6761\u9759\u6001\u529b\u4f4d\u79fb\u66f2\u7ebf\u4ee3\u66ff&#xff0c;\u4e5f\u4e0d\u80fd\u628a\u9a71\u52a8\u5668\u7535\u6d41\u9650\u503c\u76f4\u63a5\u5f53\u6210\u6267\u884c\u5668\u521a\u5ea6\u3002<\/p>\n<p>\u5de5\u7a0b\u9a8c\u8bc1\u5e94\u56fa\u5b9a\u5b89\u88c5\u548c\u9884\u7d27\u6761\u4ef6&#xff0c;\u5728\u591a\u4e2a\u9891\u7387\u70b9\u65bd\u52a0\u5c0f\u5e45\u6b63\u5f26\u6270\u52a8&#xff0c;\u540c\u6b65\u91c7\u96c6\u5de5\u4f5c\u7aef\u529b\u548c\u4f4d\u79fb&#xff0c;\u8ba1\u7b97\u5e45\u503c\u6bd4\u4e0e\u76f8\u4f4d\u5dee&#xff0c;\u5e76\u5206\u522b\u62a5\u544a\u9759\u6001\u521a\u5ea6\u3001\u52a8\u6001\u521a\u5ea6\u548c\u95ed\u73af\u7b49\u6548\u521a\u5ea6\u3002\u672c\u6587\u4ee3\u7801\u4e3a\u53ef\u8fd0\u884c\u7684\u6559\u5b66\u5206\u6790\u793a\u4f8b&#xff0c;\u4e0d\u4ee3\u8868\u4efb\u4f55\u4ea7\u54c1\u5b9e\u6d4b\u6307\u6807\u3002<\/p>\n<h3>1. \u9759\u6001\u521a\u5ea6\u3001\u52a8\u6001\u521a\u5ea6\u548c\u95ed\u73af\u7b49\u6548\u521a\u5ea6<\/h3>\n<table>\n<tr>\u540d\u79f0\u5b9a\u4e49\u4e3b\u8981\u8fb9\u754c<\/tr>\n<tbody>\n<tr>\n<td>\u9759\u6001\u521a\u5ea6<\/td>\n<td>\u51c6\u9759\u6001\u529b\u53d8\u5316\u9664\u4ee5\u4f4d\u79fb\u53d8\u5316<\/td>\n<td>\u52a0\u8f7d\u901f\u7387\u3001\u9884\u7d27\u3001\u6469\u64e6\u548c\u4f4d\u79fb\u8303\u56f4<\/td>\n<\/tr>\n<tr>\n<td>\u52a8\u6001\u521a\u5ea6<\/td>\n<td>\u540c\u4e00\u9891\u7387\u4e0b\u529b\u548c\u4f4d\u79fb\u4ea4\u6d41\u5206\u91cf\u7684\u5e45\u503c\u6bd4<\/td>\n<td>\u9891\u7387\u3001\u6fc0\u52b1\u5e45\u503c\u3001\u76f8\u4f4d\u3001\u8d1f\u8f7d\u548c\u5b89\u88c5<\/td>\n<\/tr>\n<tr>\n<td>\u95ed\u73af\u7b49\u6548\u521a\u5ea6<\/td>\n<td>\u63a7\u5236\u5668\u53c2\u4e0e\u540e\u5de5\u4f5c\u7aef\u7684\u6270\u52a8\u54cd\u5e94\u7279\u6027<\/td>\n<td>\u4f20\u611f\u5668\u4f4d\u7f6e\u3001\u63a7\u5236\u5e26\u5bbd\u3001\u5ef6\u8fdf\u548c\u9650\u5e45<\/td>\n<\/tr>\n<tr>\n<td>\u7ed3\u6784\u521a\u5ea6<\/td>\n<td>\u5b89\u88c5\u4ef6\u3001\u67d4\u6027\u94f0\u94fe\u548c\u5939\u5177\u5bf9\u529b\u4f4d\u79fb\u7684\u8d21\u732e<\/td>\n<td>\u8fb9\u754c\u7ea6\u675f\u3001\u63a5\u89e6\u3001\u504f\u8f7d\u548c\u88c5\u914d\u91cd\u590d\u6027<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>2. \u6d4b\u8bd5\u67b6\u6784\u4e0e\u4fe1\u53f7\u94fe<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826024845-6a8e540d95f5a.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u52a8\u6001\u521a\u5ea6\u6d4b\u8bd5\u540c\u65f6\u9700\u8981\u529b\u901a\u9053\u3001\u4f4d\u79fb\u901a\u9053\u548c\u540c\u6b65\u91c7\u6837\u3002<\/p>\n<h3>3. \u9891\u7387\u626b\u63cf\u4e0e\u6570\u636e\u5904\u7406\u6d41\u7a0b<\/h3>\n<li>\u56fa\u5b9a\u6267\u884c\u5668\u3001\u67d4\u6027\u673a\u6784\u3001\u529b\u4f20\u611f\u5668\u3001\u4f4d\u79fb\u4f20\u611f\u5668\u548c\u9884\u7d27\u7ed3\u6784&#xff0c;\u8bb0\u5f55\u5b89\u88c5\u65b9\u5411\u548c\u63a5\u89e6\u72b6\u6001\u3002<\/li>\n<li>\u9009\u62e9\u5c0f\u5e45\u6b63\u5f26\u6fc0\u52b1&#xff0c;\u5148\u505a\u4f4e\u9891\u68c0\u67e5&#xff0c;\u786e\u8ba4\u529b\u548c\u4f4d\u79fb\u6ca1\u6709\u524a\u9876\u3001\u5931\u771f\u6216\u63a5\u89e6\u5206\u79bb\u3002<\/li>\n<li>\u6309\u5bf9\u6570\u6216\u7b49\u95f4\u9694\u9891\u70b9\u626b\u63cf&#xff0c;\u4fdd\u6301\u6bcf\u4e2a\u9891\u70b9\u7684\u8d1f\u8f7d\u3001\u6fc0\u52b1\u5e45\u503c\u548c\u7a33\u5b9a\u5468\u671f\u4e00\u81f4\u3002<\/li>\n<li>\u5bf9\u6bcf\u4e2a\u9891\u70b9\u622a\u53d6\u6574\u6570\u5468\u671f&#xff0c;\u5206\u522b\u8ba1\u7b97\u529b\u548c\u4f4d\u79fb\u7684\u4ea4\u6d41\u5e45\u503c&#xff0c;\u5e76\u8ba1\u7b97\u52a8\u6001\u521a\u5ea6\u5e45\u503c\u3002<\/li>\n<li>\u7528\u4e92\u76f8\u5173\u6216\u9501\u76f8\u65b9\u6cd5\u4f30\u8ba1\u529b\u4e0e\u4f4d\u79fb\u7684\u76f8\u4f4d\u5dee&#xff0c;\u8bb0\u5f55\u91c7\u6837\u7387\u3001\u6ee4\u6ce2\u5668\u548c\u7a97\u53e3\u3002<\/li>\n<li>\u91cd\u590d\u4e0d\u540c\u9884\u7d27\u3001\u8d1f\u8f7d\u6216\u4f4d\u79fb\u5e45\u503c&#xff0c;\u5224\u65ad\u52a8\u6001\u521a\u5ea6\u53d8\u5316\u6765\u81ea\u7ed3\u6784\u3001\u6750\u6599\u8fd8\u662f\u6d4b\u91cf\u94fe\u3002<\/li>\n<li>\u82e5\u6709\u95ed\u73af\u63a7\u5236&#xff0c;\u5206\u522b\u8bb0\u5f55\u5f00\u73af\u548c\u95ed\u73af\u6761\u4ef6&#xff0c;\u4e0d\u80fd\u628a\u63a7\u5236\u5668\u589e\u76ca\u9020\u6210\u7684\u7b49\u6548\u521a\u5ea6\u5199\u6210\u5668\u4ef6\u672c\u4f53\u521a\u5ea6\u3002<\/li>\n<h3>4. \u8f6f\u4ef6\u3001\u786c\u4ef6\u4e0e\u6d4b\u8bd5\u6761\u4ef6<\/h3>\n<table>\n<tr>\u7c7b\u522b\u5e94\u8bb0\u5f55\u5185\u5bb9<\/tr>\n<tbody>\n<tr>\n<td>\u6267\u884c\u5668<\/td>\n<td>\u578b\u53f7\u548c\u7248\u672c\u3001\u9a71\u52a8\u6ce2\u5f62\u3001\u9884\u7d27\u65b9\u5f0f\u3001\u8d1f\u8f7d\u3001\u5b89\u88c5\u8fb9\u754c\u548c\u5de5\u4f5c\u6e29\u5ea6<\/td>\n<\/tr>\n<tr>\n<td>\u529b\u901a\u9053<\/td>\n<td>\u529b\u4f20\u611f\u5668\u91cf\u7a0b\u3001\u7075\u654f\u5ea6\u3001\u6821\u51c6\u72b6\u6001\u3001\u5b89\u88c5\u521a\u5ea6\u548c\u91c7\u6837\u7387<\/td>\n<\/tr>\n<tr>\n<td>\u4f4d\u79fb\u901a\u9053<\/td>\n<td>\u4f20\u611f\u5668\u7c7b\u578b\u3001\u6d4b\u91cf\u57fa\u51c6\u3001\u5e26\u5bbd\u3001\u5206\u8fa8\u7387\u548c\u5de5\u4f5c\u7aef\u4f4d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>\u6fc0\u52b1\u4e0e\u91c7\u96c6<\/td>\n<td>\u9891\u7387\u8303\u56f4\u3001\u6fc0\u52b1\u5e45\u503c\u3001\u91c7\u6837\u7387\u3001\u540c\u6b65\u65f6\u949f\u3001\u6ee4\u6ce2\u548c\u7a97\u53e3\u957f\u5ea6<\/td>\n<\/tr>\n<tr>\n<td>\u8f6f\u4ef6<\/td>\n<td>Windows 11 64\u4f4d&#xff0c;Python 3.12.13&#xff0c;\u4ec5\u4f7f\u7528csv\u3001math\u548cstatistics\u6807\u51c6\u5e93<\/td>\n<\/tr>\n<tr>\n<td>\u7edf\u8ba1\u53e3\u5f84<\/td>\n<td>\u6bcf\u4e2a\u9891\u70b9\u5468\u671f\u6570\u3001\u5e45\u503c\u4f30\u8ba1\u65b9\u6cd5\u3001\u91cd\u590d\u6b21\u6570\u3001\u5747\u503c\u3001\u6807\u51c6\u5dee\u548c\u5f02\u5e38\u5254\u9664\u89c4\u5219<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>5. Python\u52a8\u6001\u521a\u5ea6\u5206\u6790\u4ee3\u7801<\/h3>\n<p>CSV\u5217\u540d\u4e3a case_id\u3001frequency_hz\u3001force_amplitude_n \u548c displacement_amplitude_um\u3002\u4ee3\u7801\u8ba1\u7b97\u52a8\u6001\u521a\u5ea6&#xff0c;\u5355\u4f4d\u4e3a N\/um&#xff0c;\u5e76\u8f93\u51fa\u6bcf\u4e2a\u9891\u70b9\u7684\u7ed3\u679c\u3002\u8f93\u5165\u6570\u636e\u662f\u6559\u5b66\u6570\u636e\u3002<\/p>\n<p>python dynamic_stiffness.py &#8211;self-test<br \/>\npython dynamic_stiffness.py stiffness_data.csv<\/p>\n<p><span class=\"token keyword\">from<\/span> __future__ <span class=\"token keyword\">import<\/span> annotations<\/p>\n<p><span class=\"token keyword\">import<\/span> argparse<br \/>\n<span class=\"token keyword\">import<\/span> csv<br \/>\n<span class=\"token keyword\">import<\/span> json<br \/>\n<span class=\"token keyword\">import<\/span> math<br \/>\n<span class=\"token keyword\">from<\/span> pathlib <span class=\"token keyword\">import<\/span> Path<\/p>\n<p>FIELDS <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;frequency_hz&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;force_amplitude_n&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;displacement_amplitude_um&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">number<\/span><span class=\"token punctuation\">(<\/span>value<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">,<\/span> field<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">,<\/span> line<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">int<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token builtin\">float<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token keyword\">try<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        result <span class=\"token operator\">&#061;<\/span> <span class=\"token builtin\">float<\/span><span class=\"token punctuation\">(<\/span>value<span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">except<\/span> <span class=\"token punctuation\">(<\/span>TypeError<span class=\"token punctuation\">,<\/span> ValueError<span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">as<\/span> exc<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">raise<\/span> ValueError<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;invalid <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>field<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> at line <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>line<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">from<\/span> exc<br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token keyword\">not<\/span> math<span class=\"token punctuation\">.<\/span>isfinite<span class=\"token punctuation\">(<\/span>result<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">raise<\/span> ValueError<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;non-finite <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>field<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> at line <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>line<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> result<\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">load<\/span><span class=\"token punctuation\">(<\/span>path<span class=\"token punctuation\">:<\/span> Path<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token keyword\">with<\/span> path<span class=\"token punctuation\">.<\/span><span class=\"token builtin\">open<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;r&#034;<\/span><span class=\"token punctuation\">,<\/span> encoding<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;utf-8-sig&#034;<\/span><span class=\"token punctuation\">,<\/span> newline<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">as<\/span> handle<span class=\"token punctuation\">:<\/span><br \/>\n        reader <span class=\"token operator\">&#061;<\/span> csv<span class=\"token punctuation\">.<\/span>DictReader<span class=\"token punctuation\">(<\/span>handle<span class=\"token punctuation\">)<\/span><br \/>\n        required <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;case_id&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token operator\">*<\/span>FIELDS<span class=\"token punctuation\">}<\/span><br \/>\n        missing <span class=\"token operator\">&#061;<\/span> required <span class=\"token operator\">&#8211;<\/span> <span class=\"token builtin\">set<\/span><span class=\"token punctuation\">(<\/span>reader<span class=\"token punctuation\">.<\/span>fieldnames <span class=\"token keyword\">or<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> missing<span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token keyword\">raise<\/span> ValueError<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;missing columns: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span><span class=\"token builtin\">sorted<\/span><span class=\"token punctuation\">(<\/span>missing<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n        rows <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token keyword\">for<\/span> line<span class=\"token punctuation\">,<\/span> raw <span class=\"token keyword\">in<\/span> <span class=\"token builtin\">enumerate<\/span><span class=\"token punctuation\">(<\/span>reader<span class=\"token punctuation\">,<\/span> start<span class=\"token operator\">&#061;<\/span><span class=\"token number\">2<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n            row <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;case_id&#034;<\/span><span class=\"token punctuation\">:<\/span> raw<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;case_id&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">}<\/span><br \/>\n            <span class=\"token keyword\">for<\/span> field <span class=\"token keyword\">in<\/span> FIELDS<span class=\"token punctuation\">:<\/span><br \/>\n                row<span class=\"token punctuation\">[<\/span>field<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> number<span class=\"token punctuation\">(<\/span>raw<span class=\"token punctuation\">[<\/span>field<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> field<span class=\"token punctuation\">,<\/span> line<span class=\"token punctuation\">)<\/span><br \/>\n            rows<span class=\"token punctuation\">.<\/span>append<span class=\"token punctuation\">(<\/span>row<span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token keyword\">not<\/span> rows<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">raise<\/span> ValueError<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;CSV contains no rows&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> rows<\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">analyze<\/span><span class=\"token punctuation\">(<\/span>row<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    displacement <span class=\"token operator\">&#061;<\/span> row<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;displacement_amplitude_um&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> displacement <span class=\"token operator\">&lt;&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">raise<\/span> ValueError<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;displacement_amplitude_um must be positive&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;case_id&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">(<\/span>row<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;case_id&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;frequency_hz&#034;<\/span><span class=\"token punctuation\">:<\/span> row<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;frequency_hz&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;dynamic_stiffness_n_per_um&#034;<\/span><span class=\"token punctuation\">:<\/span> row<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;force_amplitude_n&#034;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">\/<\/span> displacement<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">self_test<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    rows <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;case_id&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;F10&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;frequency_hz&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">10.0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;force_amplitude_n&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">0.50<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;displacement_amplitude_um&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">0.10<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;case_id&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;F100&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;frequency_hz&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">100.0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;force_amplitude_n&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">0.60<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;displacement_amplitude_um&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">0.10<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;case_id&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;F1000&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;frequency_hz&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">1000.0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;force_amplitude_n&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">0.80<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;displacement_amplitude_um&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">0.10<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token punctuation\">]<\/span><br \/>\n    result <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span>analyze<span class=\"token punctuation\">(<\/span>row<span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">for<\/span> row <span class=\"token keyword\">in<\/span> rows<span class=\"token punctuation\">]<\/span><br \/>\n    expected <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token number\">5.0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">6.0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">8.0<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">for<\/span> item<span class=\"token punctuation\">,<\/span> target <span class=\"token keyword\">in<\/span> <span class=\"token builtin\">zip<\/span><span class=\"token punctuation\">(<\/span>result<span class=\"token punctuation\">,<\/span> expected<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">assert<\/span> <span class=\"token builtin\">abs<\/span><span class=\"token punctuation\">(<\/span>item<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;dynamic_stiffness_n_per_um&#034;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#8211;<\/span> target<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&lt;<\/span> <span class=\"token number\">1e-12<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;SELF_TEST_OK&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>json<span class=\"token punctuation\">.<\/span>dumps<span class=\"token punctuation\">(<\/span>result<span class=\"token punctuation\">,<\/span> ensure_ascii<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">False<\/span><span class=\"token punctuation\">,<\/span> indent<span class=\"token operator\">&#061;<\/span><span class=\"token number\">2<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    parser <span class=\"token operator\">&#061;<\/span> argparse<span class=\"token punctuation\">.<\/span>ArgumentParser<span class=\"token punctuation\">(<\/span>description<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Analyze piezo actuator dynamic stiffness&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    parser<span class=\"token punctuation\">.<\/span>add_argument<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;csv_path&#034;<\/span><span class=\"token punctuation\">,<\/span> nargs<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;?&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token builtin\">type<\/span><span class=\"token operator\">&#061;<\/span>Path<span class=\"token punctuation\">)<\/span><br \/>\n    parser<span class=\"token punctuation\">.<\/span>add_argument<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;&#8211;self-test&#034;<\/span><span class=\"token punctuation\">,<\/span> action<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;store_true&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    args <span class=\"token operator\">&#061;<\/span> parser<span class=\"token punctuation\">.<\/span>parse_args<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> args<span class=\"token punctuation\">.<\/span>self_test<span class=\"token punctuation\">:<\/span><br \/>\n        self_test<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">elif<\/span> args<span class=\"token punctuation\">.<\/span>csv_path <span class=\"token keyword\">is<\/span> <span class=\"token boolean\">None<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        parser<span class=\"token punctuation\">.<\/span>error<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;csv_path is required&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">else<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>json<span class=\"token punctuation\">.<\/span>dumps<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span>analyze<span class=\"token punctuation\">(<\/span>row<span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">for<\/span> row <span class=\"token keyword\">in<\/span> load<span class=\"token punctuation\">(<\/span>args<span class=\"token punctuation\">.<\/span>csv_path<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> ensure_ascii<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">False<\/span><span class=\"token punctuation\">,<\/span> indent<span class=\"token operator\">&#061;<\/span><span class=\"token number\">2<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">if<\/span> __name__ <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#034;__main__&#034;<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    main<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u4ee3\u7801\u53ea\u8ba1\u7b97\u529b\u5e45\u503c\u9664\u4ee5\u4f4d\u79fb\u5e45\u503c&#xff0c;\u4e0d\u8ba1\u7b97\u76f8\u4f4d\u3001\u4e0d\u505a\u4f20\u611f\u5668\u6821\u51c6&#xff0c;\u4e5f\u4e0d\u66ff\u4ee3\u6709\u9650\u5143\u5206\u6790\u6216\u4ea7\u54c1\u89c4\u683c\u9a8c\u8bc1\u3002<\/p>\n<h3>6. \u6559\u5b66\u7ed3\u679c\u4e0e\u66f2\u7ebf\u89e3\u91ca<\/h3>\n<p>\u81ea\u68c0\u8f93\u5165\u572810 Hz\u3001100 Hz\u548c1000 Hz\u5206\u522b\u7ed9\u51fa0.50 N\u30010.60 N\u548c0.80 N\u7684\u529b\u5e45\u503c&#xff0c;\u4f4d\u79fb\u5e45\u503c\u5747\u4e3a0.10 um&#xff0c;\u5f97\u52305.0\u30016.0\u548c8.0 N\/um\u3002\u5b83\u53ea\u7528\u4e8e\u9a8c\u8bc1\u4ee3\u7801\u8ba1\u7b97\u94fe\u8def&#xff0c;\u4e0d\u4ee3\u8868\u4efb\u4f55\u4ea7\u54c1\u7684\u52a8\u6001\u521a\u5ea6\u3002<\/p>\n<table>\n<tr>\u9891\u7387\u529b\u5e45\u503c\u4f4d\u79fb\u5e45\u503c\u52a8\u6001\u521a\u5ea6\u6570\u636e\u5c5e\u6027<\/tr>\n<tbody>\n<tr>\n<td>10 Hz<\/td>\n<td>0.50 N<\/td>\n<td>0.10 um<\/td>\n<td>5.0 N\/um<\/td>\n<td>\u6559\u5b66\u8f93\u5165<\/td>\n<\/tr>\n<tr>\n<td>100 Hz<\/td>\n<td>0.60 N<\/td>\n<td>0.10 um<\/td>\n<td>6.0 N\/um<\/td>\n<td>\u6559\u5b66\u8f93\u5165<\/td>\n<\/tr>\n<tr>\n<td>1000 Hz<\/td>\n<td>0.80 N<\/td>\n<td>0.10 um<\/td>\n<td>8.0 N\/um<\/td>\n<td>\u6559\u5b66\u8f93\u5165<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826024845-6a8e540dea748.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u52a8\u6001\u521a\u5ea6\u66f2\u7ebf\u5fc5\u987b\u6807\u6ce8\u9891\u7387\u3001\u6fc0\u52b1\u5e45\u503c\u3001\u8d1f\u8f7d\u548c\u6570\u636e\u5c5e\u6027\u3002<\/p>\n<h3>7. \u5e38\u89c1\u5931\u6548\u539f\u56e0<\/h3>\n<ul>\n<li>**\u628a\u9759\u6001\u521a\u5ea6\u5f53\u52a8\u6001\u521a\u5ea6&#xff1a;**\u9891\u7387\u5347\u9ad8\u540e&#xff0c;\u6750\u6599\u3001\u7ed3\u6784\u548c\u6d4b\u91cf\u94fe\u7684\u76f8\u4f4d\u90fd\u4f1a\u53d8\u5316\u3002<\/li>\n<li>**\u529b\u548c\u4f4d\u79fb\u4e0d\u5728\u540c\u4e00\u5de5\u4f5c\u7aef&#xff1a;**\u5939\u5177\u53d8\u5f62\u6216\u63a5\u89e6\u95f4\u9699\u4f1a\u628a\u7ed3\u6784\u8bef\u5dee\u6df7\u5165\u7ed3\u679c\u3002<\/li>\n<li>**\u4f20\u611f\u5668\u5e26\u5bbd\u4e0d\u8db3&#xff1a;**\u529b\u901a\u9053\u6216\u4f4d\u79fb\u901a\u9053\u7684\u5e26\u5bbd\u4e0d\u8db3&#xff0c;\u4f1a\u9020\u6210\u5e45\u503c\u8870\u51cf\u548c\u76f8\u4f4d\u504f\u5dee\u3002<\/li>\n<li>**\u6fc0\u52b1\u5e45\u503c\u8fc7\u5927&#xff1a;**\u8fdf\u6ede\u3001\u975e\u7ebf\u6027\u6216\u78b0\u649e\u4f1a\u7834\u574f\u5c0f\u4fe1\u53f7\u52a8\u6001\u521a\u5ea6\u5047\u8bbe\u3002<\/li>\n<li>**\u91c7\u6837\u7387\u548c\u540c\u6b65\u4e0d\u5f53&#xff1a;**\u4e0d\u540c\u6b65\u91c7\u6837\u4f1a\u4f7f\u529b\u4f4d\u79fb\u76f8\u4f4d\u4f30\u8ba1\u5931\u771f\u3002<\/li>\n<li>**\u95ed\u73af\u63a7\u5236\u672a\u5355\u72ec\u8bb0\u5f55&#xff1a;**\u63a7\u5236\u5668\u589e\u76ca\u548c\u5ef6\u8fdf\u4f1a\u6539\u53d8\u5de5\u4f5c\u7aef\u7b49\u6548\u521a\u5ea6&#xff0c;\u4e0d\u80fd\u5f52\u56e0\u4e8e\u9676\u74f7\u672c\u4f53\u3002<\/li>\n<\/ul>\n<h3>8. \u5e38\u89c1\u95ee\u9898<\/h3>\n<h4>8.1 \u52a8\u6001\u521a\u5ea6\u548c\u8c10\u632f\u9891\u7387\u662f\u4ec0\u4e48\u5173\u7cfb<\/h4>\n<p>\u4e24\u8005\u76f8\u5173\u4f46\u4e0d\u662f\u540c\u4e00\u4e2a\u6307\u6807\u3002\u8c10\u632f\u9644\u8fd1\u5e45\u503c\u548c\u76f8\u4f4d\u53d8\u5316\u660e\u663e&#xff0c;\u52a8\u6001\u521a\u5ea6\u53ef\u80fd\u5feb\u901f\u53d8\u5316&#xff0c;\u5fc5\u987b\u7ed3\u5408\u9891\u54cd\u66f2\u7ebf\u5224\u65ad\u3002<\/p>\n<h4>8.2 \u52a8\u6001\u521a\u5ea6\u53ef\u4ee5\u7528\u963b\u585e\u529b\u8ba1\u7b97\u5417<\/h4>\n<p>\u4e0d\u80fd\u76f4\u63a5\u66ff\u4ee3\u3002\u963b\u585e\u529b\u662f\u7279\u5b9a\u8fb9\u754c\u4e0b\u7684\u9759\u6001\u6216\u51c6\u9759\u6001\u6307\u6807&#xff0c;\u52a8\u6001\u521a\u5ea6\u9700\u8981\u9891\u57df\u529b\u4f4d\u79fb\u6bd4\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826024846-6a8e540e448da.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>8.3 \u4e3a\u4ec0\u4e48\u8981\u63a7\u5236\u4f4d\u79fb\u5e45\u503c<\/h4>\n<p>\u5c0f\u5e45\u6fc0\u52b1\u66f4\u63a5\u8fd1\u7ebf\u6027\u5316\u6761\u4ef6\u3002\u5e45\u503c\u53d8\u5316\u540e&#xff0c;\u8fdf\u6ede\u3001\u9884\u7d27\u548c\u63a5\u89e6\u975e\u7ebf\u6027\u53ef\u80fd\u4f7f\u7ed3\u679c\u53d1\u751f\u53d8\u5316\u3002<\/p>\n<h4>8.4 \u95ed\u73af\u538b\u7535\u5e73\u53f0\u7684\u52a8\u6001\u521a\u5ea6\u600e\u4e48\u5b9a\u4e49<\/h4>\n<p>\u5e94\u660e\u786e\u6270\u52a8\u8f93\u5165\u3001\u63a7\u5236\u5668\u72b6\u6001\u3001\u4f20\u611f\u5668\u57fa\u51c6\u548c\u5de5\u4f5c\u7aef\u8f93\u51fa\u3002\u95ed\u73af\u7ed3\u679c\u662f\u7cfb\u7edf\u7b49\u6548\u7279\u6027&#xff0c;\u4e0d\u7b49\u540c\u4e8e\u6267\u884c\u5668\u672c\u4f53\u521a\u5ea6\u3002<\/p>\n<h4>8.5 \u52a8\u6001\u521a\u5ea6\u5355\u4f4d\u4e3a\u4ec0\u4e48\u662fN\/um<\/h4>\n<p>\u56e0\u4e3a\u529b\u5e45\u503c\u7528N\u3001\u4f4d\u79fb\u5e45\u503c\u7528um\u3002\u6362\u7b97\u5230N\/m\u65f6\u8981\u660e\u786e\u5355\u4f4d\u8f6c\u6362&#xff0c;\u4e0d\u80fd\u6df7\u7528\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826024846-6a8e540e92d50.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>8.6 \u9891\u7387\u626b\u63cf\u4e00\u5b9a\u8981\u4f7f\u7528\u6b63\u5f26\u4fe1\u53f7\u5417<\/h4>\n<p>\u4e0d\u4e00\u5b9a&#xff0c;\u4e5f\u53ef\u7528\u968f\u673a\u6216\u591a\u6b63\u5f26\u6fc0\u52b1&#xff0c;\u4f46\u6570\u636e\u5904\u7406\u9700\u8bf4\u660e\u6fc0\u52b1\u8c31\u3001\u7a97\u51fd\u6570\u3001\u9891\u7387\u5206\u8fa8\u7387\u548c\u76f8\u5e72\u6027\u3002<\/p>\n<h4>8.7 \u4f20\u611f\u5668\u566a\u58f0\u4f1a\u600e\u6837\u5f71\u54cd\u7ed3\u679c<\/h4>\n<p>\u5f53\u4f4d\u79fb\u5e45\u503c\u63a5\u8fd1\u566a\u58f0\u5e95\u65f6&#xff0c;\u521a\u5ea6\u6bd4\u503c\u4f1a\u88ab\u653e\u5927\u3002\u5e94\u5148\u505a\u9759\u6b62\u566a\u58f0\u548c\u7a7a\u8f7d\u57fa\u7ebf\u6d4b\u8bd5\u3002<\/p>\n<h4>8.8 \u6559\u5b66\u66f2\u7ebf\u80fd\u5426\u4f5c\u4e3a\u9009\u578b\u4f9d\u636e<\/h4>\n<p>\u4e0d\u80fd\u3002\u9009\u578b\u9700\u8981\u5177\u4f53\u578b\u53f7\u3001\u8d1f\u8f7d\u3001\u9884\u7d27\u3001\u6e29\u5ea6\u3001\u9891\u7387\u8303\u56f4\u548c\u5b9e\u6d4b\u6216\u89c4\u683c\u4e66\u6570\u636e\u3002<\/p>\n<h3>9. \u7ed3\u8bba<\/h3>\n<p>\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u6d4b\u8bd5\u7684\u5173\u952e&#xff0c;\u662f\u5728\u660e\u786e\u7684\u9891\u7387\u3001\u8d1f\u8f7d\u3001\u9884\u7d27\u3001\u6fc0\u52b1\u5e45\u503c\u548c\u5de5\u4f5c\u7aef\u6d4b\u91cf\u57fa\u51c6\u4e0b&#xff0c;\u540c\u6b65\u83b7\u53d6\u529b\u548c\u4f4d\u79fb\u3002\u5148\u9a8c\u8bc1\u4f20\u611f\u5668\u5e26\u5bbd\u4e0e\u540c\u6b65&#xff0c;\u518d\u8ba1\u7b97\u5e45\u503c\u6bd4\u548c\u76f8\u4f4d&#xff0c;\u6700\u540e\u533a\u5206\u5668\u4ef6\u672c\u4f53\u3001\u5b89\u88c5\u7ed3\u6784\u4e0e\u95ed\u73af\u63a7\u5236\u7684\u8d21\u732e\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826024846-6a8e540ee1578.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u672c\u6587\u4ee3\u7801\u3001\u8868\u683c\u548c\u66f2\u7ebf\u5747\u4e3a\u53ef\u590d\u73b0\u6559\u5b66\u793a\u4f8b&#xff0c;\u4e0d\u4ee3\u8868\u9e3f\u82af\u5fae\u63a7\u6216\u5176\u4ed6\u5177\u4f53\u4ea7\u54c1\u7684\u5b9e\u6d4b\u6027\u80fd\u3002\u6b63\u5f0f\u53d1\u5e03\u52a8\u6001\u521a\u5ea6\u6570\u636e\u524d&#xff0c;\u5fc5\u987b\u8865\u5145\u4eea\u5668\u3001\u91c7\u6837\u7387\u3001\u6837\u672c\u6570\u3001\u73af\u5883\u3001\u6821\u51c6\u548c\u539f\u59cb\u8bb0\u5f55\u3002<\/p>\n<h3>\u53c2\u8003\u8d44\u6599<\/h3>\n<li>IEEE&#xff0c;ANSI\/IEEE Std 176-1987&#xff0c;IEEE Standard on Piezoelectricity\u3002IEEE\u5b98\u65b9\u6765\u6e90<\/li>\n<li>ISO&#xff0c;ISO 5725-1:1994&#xff0c;Accuracy of measurement methods and results &#8211; Part 1\u3002ISO\u6807\u51c6\u9875\u9762<\/li>\n<li>JCGM&#xff0c;JCGM 100:2008&#xff0c;Evaluation of measurement data &#8211; Guide to the expression of measurement uncertainty\u3002BIPM\u5b98\u65b9\u9875\u9762<\/li>\n<li>ISO&#xff0c;ISO 230-2:2014&#xff0c;Test code for machine tools &#8211; Part 2\u3002ISO\u6807\u51c6\u7ec4\u7ec7\u9875\u9762<\/li>\n<li>Python Software Foundation&#xff0c;csv\u6a21\u5757\u6587\u6863&#xff0c;Python 3.12\u3002Python\u5b98\u65b9\u6587\u6863<\/li>\n<li>Python Software Foundation&#xff0c;math\u6a21\u5757\u6587\u6863&#xff0c;Python 3.12\u3002Python\u5b98\u65b9\u6587\u6863<\/li>\n","protected":false},"excerpt":{"rendered":"<p>\u6458\u8981<br \/>\n\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u662f\u7279\u5b9a\u9891\u7387\u3001\u8d1f\u8f7d\u3001\u4f4d\u79fb\u5e45\u503c\u548c\u8fb9\u754c\u6761\u4ef6\u4e0b&#xff0c;\u529b\u53d8\u5316\u4e0e\u4f4d\u79fb\u53d8\u5316\u7684\u9891\u57df\u6bd4\u503c\u3002\u5b83\u4e0d\u80fd\u7528\u4e00\u6761\u9759\u6001\u529b\u4f4d\u79fb\u66f2\u7ebf\u4ee3\u66ff&#xff0c;\u4e5f\u4e0d\u80fd\u628a\u9a71\u52a8\u5668\u7535\u6d41\u9650\u503c\u76f4\u63a5\u5f53\u6210\u6267\u884c\u5668\u521a\u5ea6\u3002<br \/>\n\u5de5\u7a0b\u9a8c\u8bc1\u5e94\u56fa\u5b9a\u5b89\u88c5\u548c\u9884\u7d27\u6761\u4ef6&#xff0c;\u5728\u591a\u4e2a\u9891\u7387\u70b9\u65bd\u52a0\u5c0f\u5e45\u6b63\u5f26\u6270\u52a8&#xff0c;\u540c\u6b65\u91c7\u96c6\u5de5\u4f5c\u7aef\u529b\u548c\u4f4d\u79fb&#xff0c;\u8ba1\u7b97\u5e45\u503c\u6bd4\u4e0e\u76f8\u4f4d\u5dee&#xff0c;\u5e76\u5206\u522b\u62a5\u544a\u9759\u6001\u521a\u5ea6\u3001\u52a8\u6001\u521a\u5ea6\u548c\u95ed\u73af\u7b49\u6548\u521a\u5ea6\u3002\u672c\u6587\u4ee3\u7801\u4e3a\u53ef\u8fd0\u884c\u7684\u6559\u5b66\u5206\u6790\u793a\u4f8b&#xff0c;\u4e0d\u4ee3\u8868\u4efb\u4f55\u4ea7\u54c1\u5b9e\u6d4b\u6307\u6807\u3002<br \/>\n1<\/p>\n","protected":false},"author":2,"featured_media":95371,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10933,10859,81,190,100],"topic":[],"class_list":["post-95376","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-10933","tag-10859","tag-python","tag-190","tag-100"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u600e\u4e48\u6d4b\uff1f\u9891\u7387\u3001\u8d1f\u8f7d\u4e0ePython\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/95376.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u600e\u4e48\u6d4b\uff1f\u9891\u7387\u3001\u8d1f\u8f7d\u4e0ePython\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6458\u8981 \u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u662f\u7279\u5b9a\u9891\u7387\u3001\u8d1f\u8f7d\u3001\u4f4d\u79fb\u5e45\u503c\u548c\u8fb9\u754c\u6761\u4ef6\u4e0b&#xff0c;\u529b\u53d8\u5316\u4e0e\u4f4d\u79fb\u53d8\u5316\u7684\u9891\u57df\u6bd4\u503c\u3002\u5b83\u4e0d\u80fd\u7528\u4e00\u6761\u9759\u6001\u529b\u4f4d\u79fb\u66f2\u7ebf\u4ee3\u66ff&#xff0c;\u4e5f\u4e0d\u80fd\u628a\u9a71\u52a8\u5668\u7535\u6d41\u9650\u503c\u76f4\u63a5\u5f53\u6210\u6267\u884c\u5668\u521a\u5ea6\u3002 \u5de5\u7a0b\u9a8c\u8bc1\u5e94\u56fa\u5b9a\u5b89\u88c5\u548c\u9884\u7d27\u6761\u4ef6&#xff0c;\u5728\u591a\u4e2a\u9891\u7387\u70b9\u65bd\u52a0\u5c0f\u5e45\u6b63\u5f26\u6270\u52a8&#xff0c;\u540c\u6b65\u91c7\u96c6\u5de5\u4f5c\u7aef\u529b\u548c\u4f4d\u79fb&#xff0c;\u8ba1\u7b97\u5e45\u503c\u6bd4\u4e0e\u76f8\u4f4d\u5dee&#xff0c;\u5e76\u5206\u522b\u62a5\u544a\u9759\u6001\u521a\u5ea6\u3001\u52a8\u6001\u521a\u5ea6\u548c\u95ed\u73af\u7b49\u6548\u521a\u5ea6\u3002\u672c\u6587\u4ee3\u7801\u4e3a\u53ef\u8fd0\u884c\u7684\u6559\u5b66\u5206\u6790\u793a\u4f8b&#xff0c;\u4e0d\u4ee3\u8868\u4efb\u4f55\u4ea7\u54c1\u5b9e\u6d4b\u6307\u6807\u3002 1\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/95376.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-26T02:48:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826024845-6a8e540d95f5a.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/95376.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/95376.html\",\"name\":\"\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u600e\u4e48\u6d4b\uff1f\u9891\u7387\u3001\u8d1f\u8f7d\u4e0ePython\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-26T02:48:48+00:00\",\"dateModified\":\"2026-08-26T02:48:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/95376.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/95376.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/95376.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u600e\u4e48\u6d4b\uff1f\u9891\u7387\u3001\u8d1f\u8f7d\u4e0ePython\u5206\u6790\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u600e\u4e48\u6d4b\uff1f\u9891\u7387\u3001\u8d1f\u8f7d\u4e0ePython\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/95376.html","og_locale":"zh_CN","og_type":"article","og_title":"\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u600e\u4e48\u6d4b\uff1f\u9891\u7387\u3001\u8d1f\u8f7d\u4e0ePython\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6458\u8981 \u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u662f\u7279\u5b9a\u9891\u7387\u3001\u8d1f\u8f7d\u3001\u4f4d\u79fb\u5e45\u503c\u548c\u8fb9\u754c\u6761\u4ef6\u4e0b&#xff0c;\u529b\u53d8\u5316\u4e0e\u4f4d\u79fb\u53d8\u5316\u7684\u9891\u57df\u6bd4\u503c\u3002\u5b83\u4e0d\u80fd\u7528\u4e00\u6761\u9759\u6001\u529b\u4f4d\u79fb\u66f2\u7ebf\u4ee3\u66ff&#xff0c;\u4e5f\u4e0d\u80fd\u628a\u9a71\u52a8\u5668\u7535\u6d41\u9650\u503c\u76f4\u63a5\u5f53\u6210\u6267\u884c\u5668\u521a\u5ea6\u3002 \u5de5\u7a0b\u9a8c\u8bc1\u5e94\u56fa\u5b9a\u5b89\u88c5\u548c\u9884\u7d27\u6761\u4ef6&#xff0c;\u5728\u591a\u4e2a\u9891\u7387\u70b9\u65bd\u52a0\u5c0f\u5e45\u6b63\u5f26\u6270\u52a8&#xff0c;\u540c\u6b65\u91c7\u96c6\u5de5\u4f5c\u7aef\u529b\u548c\u4f4d\u79fb&#xff0c;\u8ba1\u7b97\u5e45\u503c\u6bd4\u4e0e\u76f8\u4f4d\u5dee&#xff0c;\u5e76\u5206\u522b\u62a5\u544a\u9759\u6001\u521a\u5ea6\u3001\u52a8\u6001\u521a\u5ea6\u548c\u95ed\u73af\u7b49\u6548\u521a\u5ea6\u3002\u672c\u6587\u4ee3\u7801\u4e3a\u53ef\u8fd0\u884c\u7684\u6559\u5b66\u5206\u6790\u793a\u4f8b&#xff0c;\u4e0d\u4ee3\u8868\u4efb\u4f55\u4ea7\u54c1\u5b9e\u6d4b\u6307\u6807\u3002 1","og_url":"https:\/\/www.wsisp.com\/helps\/95376.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-26T02:48:48+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826024845-6a8e540d95f5a.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/95376.html","url":"https:\/\/www.wsisp.com\/helps\/95376.html","name":"\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u600e\u4e48\u6d4b\uff1f\u9891\u7387\u3001\u8d1f\u8f7d\u4e0ePython\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-26T02:48:48+00:00","dateModified":"2026-08-26T02:48:48+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/95376.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/95376.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/95376.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u538b\u7535\u6267\u884c\u5668\u52a8\u6001\u521a\u5ea6\u600e\u4e48\u6d4b\uff1f\u9891\u7387\u3001\u8d1f\u8f7d\u4e0ePython\u5206\u6790"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/95376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=95376"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/95376\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/95371"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=95376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=95376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=95376"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=95376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}