id: 27ea5e2b93c54b1ab78884699c385386
parent_id: 
item_type: 1
item_id: 349c31bb32ef4a278cb0a28725f02ef6
item_updated_time: 1764345494949
title_diff: "[{\"diffs\":[[1,\"让Python帮你搞定MySQL数据库\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":19}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>让Python帮你搞定MySQL数据库</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"23881\\\"></a>\\\r\\\n<h1>让Python帮你搞定MySQL数据库</h1>\\\r\\\n\\\r\\\n<div><span style=\\\"margin:0px;\\\"><div style=\\\"padding:8px 0px;margin:8px auto;max-width:700px;\\\"> <div style=\\\"margin:0;padding:0;background-color:#fff\\\"><div style=\\\"margin:0;padding:0\\\"><div style=\\\"margin:0;padding:0;position:relative\\\"><h2 style=\\\"font-weight:400;margin:0;padding:0;font-size:22px;line-height:1.4;margin-bottom:14px\\\"> 让Python帮你搞定MySQL数据库 </h2><div style=\\\"margin:0;padding:0;margin-bottom:22px;line-height:20px;font-size:0;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto\\\"><span style=\\\"padding:0;display:inline-block;vertical-align:middle;margin:0 10px 10px 0;font-size:15px;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative\\\"><a style=\\\"margin:0;padding:0;color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)\\\"> 21CTO </a></span><em style=\\\"padding:0;font-style:normal;display:inline-block;vertical-align:middle;margin:0 10px 10px 0;font-size:15px;-webkit-tap-highlight-color:rgba(0,0,0,0);color:rgba(0,0,0,0.3)\\\"></em></div><div style=\\\"margin:0;padding:0;overflow:hidden;color:#333;font-size:17px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-align:justify;position:relative;z-index:0;__visibility:hidden\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><img src=\\\":/219b4232f90b4c58aa41593c72d4be90\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;height:auto !important;letter-spacing:0.544px;white-space:normal;caret-color:rgb(0,0,0);font-family:mp-quote,-apple-system-font,BlinkMacSystemFont,\\\"Helvetica Neue\\\",\\\"PingFang SC\\\",\\\"Hiragino Sans GB\\\",\\\"Microsoft YaHei UI\\\",\\\"Microsoft YaHei\\\",Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255);text-align:center;box-sizing:border-box !important;overflow-wrap:break-word !important;__visibility:visible !important;width:640px !important\\\"/></span></div><blockquote style=\\\"padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;padding-left:10px;border-left:3px solid #dbdbdb;color:rgba(0,0,0,0.5);font-size:15px;padding-top:4px;margin:1em 0\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:14px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">MySQL是常用的数据库之一，也是面试工作必备技能之一。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:14px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">本文通过一个实战，将Python与SQL语句结合起来使用，搞定MySQL数据库。</span></div></div></div></blockquote><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;text-align:center;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(238,121,118);box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><strong style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">// 实战开始 //</span></strong></span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><blockquote style=\\\"padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;padding-left:10px;border-left:3px solid #dbdbdb;font-size:15px;padding-top:4px;margin:1em 0;color:rgba(0,0,0,0.5);font-family:-apple-system-font,BlinkMacSystemFont,&quot;Helvetica Neue&quot;,&quot;PingFang SC&quot;,&quot;Hiragino Sans GB&quot;,&quot;Microsoft YaHei UI&quot;,&quot;Microsoft YaHei&quot;,Arial,sans-serif;letter-spacing:0.544px;white-space:normal;text-size-adjust:auto;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(123,127,131);box-sizing:border-box !important;overflow-wrap:break-word !important\\\">我们在github上下载fifa18球员数据，将这些信息存入到mysql。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(123,127,131);box-sizing:border-box !important;overflow-wrap:break-word !important\\\">①数据下载地址：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(123,127,131);box-sizing:border-box !important;overflow-wrap:break-word !important\\\">https://github.com/amanthedorkknight/fifa18-all-player-statistics</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(123,127,131);box-sizing:border-box !important;overflow-wrap:break-word !important\\\">②选择：Complete-&gt;basicplayerdata.csv</span></div></div></div></blockquote><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;text-align:center;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(238,121,118);box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><strong style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">// 将数据从CSV导入到MySQL //</span></strong></span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;text-align:center;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(121,198,205);box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><strong style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">1）创建对应库与表</span></strong></span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#创建公司数据库，编码格式utf-8</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">CREATE</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">DATABASE</span> fifa18_db <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">DEFAULT</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">CHARACTER</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">SET</span> utf8 <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">COLLATE</span> utf8_general_ci;</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#选择数据库：</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">use</span> fifa18_db;</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#创建球员表：id,名称，海报地址，俱乐部，年龄，薪资等，与csv文件对应</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">create</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">table</span> player(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">id</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">int</span> Primary <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">key</span> auto_increment, </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">player_id <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">int</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">name</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">char</span>(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">64</span>), age <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">int</span>, poster <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">char</span>(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">64</span>),</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><br style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"/></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> flag <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">char</span>(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">64</span>), overall <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">int</span>, potential <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">int</span>, club <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">char</span>(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">64</span>) <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">default</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">''</span>, club_Logo <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">char</span>(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">64</span>), </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">value</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">char</span>(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">16</span>), wage <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">char</span>(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">16</span>), special <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">int</span>) <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">default</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">charset</span> =utf8;</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(121,198,205);box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><strong style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">2）CSV读取文件</span></strong></span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">数据集中某些球员字段为空，插入时候需要补充默认值，使用DictReader读取。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">path = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'/home/linux/workdir/data/basicplayerdata.csv'</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#字段名称</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">field = [<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">''</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'ID'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Name'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Age'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Photo'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Nationality'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Flag'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Overall'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Potential'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Club'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Club Logo'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Value'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Wage'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Special'</span>]</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">f = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">open</span>(path)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">fcsv = csv.DictReader(f, fieldnames = field)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#第一行去掉</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">line = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">next</span>(fcsv)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#第一行有效数据</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">line = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">next</span>(fcsv)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">print</span>(line)</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">结果：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">OrderedDict([(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">''</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'0'</span>), (<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'ID'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'158023'</span>), (<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Name'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'L. Messi'</span>), (<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Age'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'30'</span>), </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Photo'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/players/4/18/158023.png'</span>), (<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Nationality'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Argentina'</span>), </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Flag'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/flags/52.png'</span>), </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Overall'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'94'</span>), (<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Potential'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'94'</span>), (<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Club'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'FC Barcelona'</span>), </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Club Logo'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/teams/2/18/light/241.png'</span>), </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Value'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'€118.5M'</span>), (<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Wage'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'€565K'</span>), (<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Special'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'2161'</span>)])</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(121,198,205);box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><strong style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">3）读取一行并整理数据格式</span></strong></span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">CSV读取字段与数据库对应起来，且不要CSV文件种的第一列，整理数据格式为字典，key为数据库列名，value为CSV对应内容，代码实现。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">sqlfield = [<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'player_id'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'name'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'age'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'poster'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'nationality'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'flag'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'overall'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'potential'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'club'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'club_logo'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'value'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'wage'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'special'</span>]</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">csvfield = [<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'ID'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Name'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Age'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Photo'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Nationality'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Flag'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Overall'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Potential'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Club'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Club Logo'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Value'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Wage'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Special'</span>]</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#转成字典：</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">keysinfo = dict(zip(sqlfield, csvfield))</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#填充数据：</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">data</span> = {}</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">for</span> sfield, cfield <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">in</span> keysinfo.items():</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> ele = line.get(cfield, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">''</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> data.setdefault(sfield, ele)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">print(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">data</span>)</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">结果：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">{<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'player_id'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'158023'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'name'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'L. Messi'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'age'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'30'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'poster'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/players/4/18/158023.png'</span>, </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'nationality'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Argentina'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'flag'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/flags/52.png'</span>, </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'overall'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'94'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'potential'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'94'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'club'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'FC Barcelona'</span>, </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'club_logo'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/teams/2/18/light/241.png'</span>, </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'value'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'€118.5M'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'wage'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'€565K'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'special'</span>: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'2161'</span>}</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(121,198,205);box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><strong style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">4）拼接sql语句</span></strong></span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">尝试插入一条数据：获取插入字段与对应数据，拼接成sql语句。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">tablename = 'player'</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">keys = data.keys()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">fields = ','.join(keys)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">vals = ','.join([<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;'%s'&quot;</span>% val for val in data.values()])</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">sql = f<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;INSERT INTO {tablename}({fields}) VALUES({vals})&quot;</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">print(sql)</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">结果：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">INSERT</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">INTO</span> player(player_id,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">name</span>,age,poster,nationality,flag,overall,potential,club,club_logo,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">value</span>,wage,special) </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">VALUES</span>(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'158023'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'L. Messi'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'30'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/players/4/18/158023.png'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Argentina'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/flags/52.png'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'94'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'94'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'FC Barcelona'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/teams/2/18/light/241.png'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'€118.5M'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'€565K'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'2161'</span>)</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(121,198,205);box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><strong style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">5）连接数据库，并插入数据</span></strong></span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#编码格式：utf-8</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">db = pymysql.connect(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;localhost&quot;</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;root&quot;</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;abc123&quot;</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;fifa18_db&quot;</span>, charset='utf8')</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#获取游标</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">cursor = db.cursor()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">cursor.execute(sql)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#提交数据</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">db.commit()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">#断开连接</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">cursor.close()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">db.close()</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">查看player中信息，插入成功。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><img src=\\\":/65b2369a9c2f4989aad8bec8670231bd\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;height:auto !important;box-sizing:border-box !important;overflow-wrap:break-word !important;width:637px !important;__visibility:visible !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">基本功能都已经实现，对代码进行整理，根据功能定义类及方法。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">import</span> csv</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">import</span> pymysql</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">class</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">LoadDataFromCsvToMysql</span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">__init__(self, csvpath, csvfield, mysqlfield, table, sqlconfig)</span>:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#初始化参数</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">pass</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">connectSql(self)</span>:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#连接数据库，获取游标</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">pass</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">disconnectSql(self)</span>:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#断开数据库，获取游标</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">pass</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">processSql(self, sql)</span>:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#处理sql语句</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">pass</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">loadCsv(self)</span>:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#打开csv文件，返回csv对象</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">pass</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">closeCsv(self)</span>:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#关闭csv文件</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">pass</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">gensql(self, linedata)</span>:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#生成sql语句</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">pass</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">process(self)</span>:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#对外接口，打开文件并写数据库</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">pass</span></span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">类定义完成之后，我们可以将功能明确的方法实现。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">import csv</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">import pymysql</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">class</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">LoadDataFromCsvToMysql</span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">__init__(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>, csvpath, csvfield, mysqlfield, table, sqlconfig)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#初始化参数</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.dbconfig = sqlconfig</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.inpath = csvpath</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.sqlfield = mysqlfield</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.csvfield = csvfield</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.fieldmap = dict(zip(mysqlfield, csvfield[<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">1:</span>]))</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.tablename = table</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">connectSql(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.db = pymysql.connect(**<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.dbconfig, charset=<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'utf8'</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.cursor = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.db.cursor()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">disconnectSql(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.cursor.close()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.db.close()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">processSql(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>, sql)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> ret = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.cursor.execute(sql)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.db.commit()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">return</span> ret</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">loadCsv(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#打开csv文件</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.f = open(path)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> fcsv = csv.DictReader(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.f, fieldnames = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.csvfield)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">next</span>(fcsv)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">return</span> fcsv</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">closeCsv(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.f.close()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">gensql(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>, linedata)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> pass</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">process(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#测试数据库与csv文件打开关闭</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.connectSql()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> print(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'connect sql...'</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> fcsv = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.loadCsv()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.disconnectSql()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.closeCsv()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> print(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'disconnect sql'</span>) path = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'/home/linux/workdir/data/basicplayerdata.csv'</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">sqlfield= [<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'player_id'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'name'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'age'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'poster'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'nationality'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'flag'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'overall'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'potential'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'club'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'club_logo'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'value'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'wage'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'special'</span>]</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">csvfield = [<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">''</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'ID'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Name'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Age'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Photo'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Nationality'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Flag'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Overall'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Potential'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Club'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Club Logo'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Value'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Wage'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'Special'</span>]</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">dbconfig = {<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'host':<span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">'localhost'</span></span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'port':3306</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'user':<span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">'root'</span></span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'passwd':<span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">'abc123'</span></span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'db':<span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">'fifa18_db'</span></span>}</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">obj = LoadDataFromCsvToMysql(path, csvfield, sqlfield, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'player'</span>, dbconfig)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">obj.process()</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">输出：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\">connect</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">sql...</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\">load</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">csvfile</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\">disconnect</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">sql</span></span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(121,198,205);box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><strong style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">6）完善process与gensql</span></strong></span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">先完善process方法实现：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">process(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#测试数据库与csv文件打开关闭</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.connectSql()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> print(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'connect sql...'</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> fcsv = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.loadCsv()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">for</span> line <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">in</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">fcsv:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> sql = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.gensql(line)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> print(sql)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> n = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.processSql(sql)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.disconnectSql()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.closeCsv()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> print(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'disconnect sql'</span>)</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">然后完善gensql方法，将前面实现添加到此方法中。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def gensql(self, linedata):</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> #产生sql语句</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">data</span> = {}</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">for</span> sfield, cfield <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">in</span> self.fieldmap.items():</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> ele = linedata.<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">get</span>(cfield, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">''</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">data</span>.setdefault(sfield, ele)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> tablename = self.tablename</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> keys = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">data</span>.keys()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> fields = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">','</span>.join(keys)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> vals = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">','</span>.join([<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;'%s'&quot;</span>% <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">val</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">for</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">val</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">in</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">data</span>.values()])</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> sql = f<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;INSERT INTO {tablename}({fields}) VALUES({vals})&quot;</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">return</span> sql</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">测试前将player表中内容删除，然后使用代码先插入一条，并查看结果；如果测试没有问题，可以插入所有数据。实际运行出现问题：sql语句错误 ，字符串拼接错误。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">出错sql语句：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">&quot;('158023','L. Messi','30','https://cdn.sofifa.org/players/4/18/158023.png',..)&quot;</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">双引号+单引号，但是文件中，某些字符串带单引号，所以出现字段错误。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">修改sql拼接方法：</span><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> def gensql(self, linedata):</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> #产生sql语句</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">data</span> = {}</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">for</span> sfield, cfield <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">in</span> self.fieldmap.items():</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> ele = linedata.<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">get</span>(cfield, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">''</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">data</span>.setdefault(sfield, ele)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> tablename = self.tablename</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> keys = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">data</span>.keys()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> fields = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">','</span>.join(keys)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> vals = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">','</span>.join([<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'&quot;%s&quot;'</span>% <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">val</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">for</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">val</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">in</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">data</span>.values()])</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> sql = f<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'INSERT INTO {tablename}({fields}) VALUES({vals})'</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">return</span> sql</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">运行结果：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">dstram<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;18&quot;,&quot;https:</span>/<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">/cdn.sofifa.org/players/4/18</span>/<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">238813</span>.png<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;</span>England<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;https:</span>/<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">/cdn.sofifa.org/flags/14.png&quot;,&quot;47&quot;,&quot;65&quot;,&quot;Crewe Alexandra&quot;,&quot;https://cdn.sofifa.org/teams/2/18</span>/light/<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">121</span>.png<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;</span>€<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">60</span>K<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;</span>€<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">1</span>K<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;1305&quot;)</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">INSERT INTO player(player_id,name,age,poster,nationality,flag,overall,potential,club,club_logo,value,wage,special) </span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\">VALUES(&quot;238306&quot;,&quot;</span>A. Conway<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;19&quot;,&quot;https:</span>/<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">/cdn.sofifa.org/players/4/18</span>/<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">238306</span>.png<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;</span>Republic of Ireland<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;https:</span>/<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">/cdn.sofifa.org/flags/25.png&quot;,&quot;47&quot;,&quot;63&quot;,&quot;Galway United&quot;,&quot;https://cdn.sofifa.org/teams/2/18</span>/light/<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">1571</span>.png<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;</span>€<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">60</span>K<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;</span>€<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">1</span>K<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">&quot;,&quot;1314&quot;)</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">disconnect sql</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">1555235373.5942054 1555235392.2122808</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">插入18000条数据，花费时间大概为20S左右；后续优化：每次插入500条数据，然后在查看花费时间，这个大家可以参考前面案例自己实现。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;text-align:center;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(238,121,118);box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><strong style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">// 在SQL中查询数据 //</span></strong></span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">需求：查询player表中阿根廷国家球员姓名，年龄，头像信息。读者朋友可以自己尝试去实现，考虑使用继承。</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><blockquote style=\\\"padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;padding-left:10px;border-left:3px solid #dbdbdb;font-size:15px;padding-top:4px;margin:1em 0;color:rgba(0,0,0,0.5);font-family:-apple-system-font,BlinkMacSystemFont,&quot;Helvetica Neue&quot;,&quot;PingFang SC&quot;,&quot;Hiragino Sans GB&quot;,&quot;Microsoft YaHei UI&quot;,&quot;Microsoft YaHei&quot;,Arial,sans-serif;letter-spacing:0.544px;white-space:normal;text-size-adjust:auto;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(123,127,131);box-sizing:border-box !important;overflow-wrap:break-word !important\\\">①sql中查询数据我们步骤：连接数据库，执行sql语句，关闭数据库；</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(123,127,131);box-sizing:border-box !important;overflow-wrap:break-word !important\\\">②查询与写入很多方法通用，考虑继承LoadDataFromCsvToMysql类；</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;color:rgb(123,127,131);box-sizing:border-box !important;overflow-wrap:break-word !important\\\">③需要重载init，process，processSql方法；</span></div></div></div></blockquote><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">代码实现：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">class</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">QueryMysql</span>(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">LoadDataFromCsvToMysql</span>):</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">__init__(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>, sqlconfig)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#调用父类方法，初始化传一些无效参数</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">super</span>(QueryMysql, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>).__init_<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">_</span>(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">''</span>,[], [], <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">''</span>, dbconfig)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">genSql(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>, table, fields, condition=None)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#查询语句生成</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> fds = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">','</span>.join(fields)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> cond = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">''</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> print(condition)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">if</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">condition:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> cond = f<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">' where {condition}'</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> sql = f<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'select {fds} from {table}{cond}'</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">return</span> sql</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">def</span><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">process(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>, tablename, fields, condition=None)</span></span>:</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#对外接口</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#afafaf;font-style:italic\\\">#调用父类中的连接数据库，关闭数据库方法</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.connectSql()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> sql = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.genSql(tablename, fields, condition)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.processSql(sql)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> items = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.cursor.fetchall()</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">for</span> item <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">in</span><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">items:</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> print(item)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"> print(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'all Argentina player:'</span>, len(items))</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#ca7d37\\\">self</span>.disconnectSql() dbconfig= {<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'host':<span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">'localhost'</span></span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'port':3306</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'user':<span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">'root'</span></span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'passwd':<span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">'abc123'</span></span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'db':<span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">'fifa18_db'</span></span>}</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">tablename = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'player'</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">files = [<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'name'</span>,<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'poster'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'age'</span>]</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">obj = QueryMysql(dbconfig)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">cond = <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'nationality=&quot;Argentina&quot;'</span></span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">obj.process(tablename, files, cond)</span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">结果：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;margin:10px 0;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:flex;line-height:26px\\\"><ul style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none\\\"><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li><li style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;list-style-type:none;text-align:right\\\"></li></ul><pre style=\\\"margin:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;overflow-x:auto;padding:1em;padding-left:0;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch\\\"><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'L. Messi'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/players/4/18/158023.png'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">30</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'G. Higuaín'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/players/4/18/167664.png'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">29</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'P. Dybala'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/players/4/18/211110.png'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">23</span>)...(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'A. Miño'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/players/4/18/243298.png'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">23</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'T. Durso'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/players/4/18/240955.png'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">18</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'K. Humeler'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/players/4/18/240291.png'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">20</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">(<span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'J. Mendive'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#d14\\\">'https://cdn.sofifa.org/players/4/18/241584.png'</span>, <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">20</span>)</span></code><code style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;font-size:14px;position:relative;text-align:left;white-space:pre;display:flex;font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">all Argentina player: <span style=\\\"margin:0;padding:0;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;max-width:1000% !important;color:#0e9ce5\\\">966</span></span></code></pre></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">结果：</span></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></div><div style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;margin-top:5px;margin-bottom:5px;padding-right:1em;padding-left:1em;caret-color:rgb(51,51,51);white-space:normal;text-size-adjust:auto;font-family:Arial,Helvetica,sans-serif;line-height:1.75em;letter-spacing:1.5px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px;box-sizing:border-box !important;overflow-wrap:break-word !important\\\">数据集中一共有966名Argentina球员。</span></div><p style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;clear:both;min-height:1em\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></p><blockquote style=\\\"padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;padding-left:10px;border-left:3px solid #dbdbdb;color:rgba(0,0,0,0.5);font-size:15px;padding-top:4px;margin:1em 0\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"><div style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"><p style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;clear:both;min-height:1em\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:14px;color:rgb(61,167,66)\\\">作者：奇猫<br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></span></p></div></div></blockquote><p style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;clear:both;min-height:1em\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></p><p style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;clear:both;min-height:1em\\\"><strong style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:16px\\\">相关阅读：<br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></span></strong></p><p style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;clear:both;min-height:1em\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></p><p style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;clear:both;min-height:1em\\\"><a href=\\\"http://mp.weixin.qq.com/s?__biz=MjM5NTg2NTU0Ng==&amp;mid=2656606906&amp;idx=3&amp;sn=82f167ce9ca740fe9983c703447709f6&amp;chksm=bd5dcc1f8a2a4509f9dc30d9b50e85094f60880d39cba4e72b682796a0d151d5785c6b4b82f0&amp;scene=21#wechat_redirect\\\" style=\\\"margin:0;padding:0;color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:15px\\\" target=\\\"_blank\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:15px\\\">用python远程探查室友每天的网页访问记录，他不愧是成年人</span></a><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></p><p style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;clear:both;min-height:1em\\\"><a href=\\\"http://mp.weixin.qq.com/s?__biz=MjM5NTg2NTU0Ng==&amp;mid=2656606846&amp;idx=2&amp;sn=8e871643b3f99c3035cd21873297c101&amp;chksm=bd5dccdb8a2a45cdc2791baa2360c8d52cee777efdbb3b4c7dd0cbed862a0bf474223f5c0788&amp;scene=21#wechat_redirect\\\" style=\\\"margin:0;padding:0;color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:15px\\\" target=\\\"_blank\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:15px\\\">腾讯视频Python爬虫项目实战</span></a><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></p><p style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;clear:both;min-height:1em\\\"><a href=\\\"http://mp.weixin.qq.com/s?__biz=MjM5NTg2NTU0Ng==&amp;mid=2656607379&amp;idx=2&amp;sn=71428ae00f5c6849a5642b95220e1813&amp;chksm=bd5dca368a2a43208a14264d3e01b552e90cb8ee55f6b06758bc3ab5e58f65241b7d3dff6a0e&amp;scene=21#wechat_redirect\\\" style=\\\"margin:0;padding:0;color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\" target=\\\"_blank\\\"><span style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;font-size:15px\\\">如何成为真正的数据驱动组织</span></a><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></p><p style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;clear:both;min-height:1em\\\"><br style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important\\\"/></p><p style=\\\"margin:0;padding:0;max-width:100% !important;box-sizing:border-box !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;clear:both;min-height:1em\\\"><img src=\\\":/91e7b111fe1d4084aea9b1561193b744\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"margin:0;padding:0;max-width:100% !important;-webkit-box-sizing:border-box !important;word-wrap:break-word !important;height:auto !important;letter-spacing:0.544px;white-space:normal;background-color:rgb(255,255,255);text-align:left;font-family:Avenir,-apple-system-font,微软雅黑,sans-serif;color:rgb(160,160,160);widows:1;font-size:12px;caret-color:rgb(160,160,160);box-sizing:border-box !important;overflow-wrap:break-word !important;__visibility:visible !important;width:661px !important\\\"/></p></div></div><ul style=\\\"margin:0;padding:0\\\"></ul><div style=\\\"margin:0;padding:0;padding-top:15px;overflow:hidden;line-height:32px;font-size:15px\\\"><div style=\\\"margin:0;padding:0;display:flex\\\"><span style=\\\"margin:0;padding:0;float:right;margin-left:16px;color:#576b95;__visibility:hidden\\\"><span style=\\\"margin:0;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0;background-color:transparent;border:0;display:inline-block;vertical-align:middle;white-space:nowrap;padding:0;font-size:15px;font-family:inherit;line-height:2.13333333;color:#576b95\\\"><span style=\\\"margin:0;padding:0\\\">在看</span><span style=\\\"margin:0;padding:0;font-size:15px;margin-left:.2em\\\"></span></span></span></div></div></div></div></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":354768}]"
metadata_diff: {"new":{"id":"349c31bb32ef4a278cb0a28725f02ef6","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345890705,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:20:27.423Z
created_time: 2025-11-28T16:20:27.423Z
type_: 13