擅长:python、mysql、java
<p><code>re.findall()</code>返回字符串列表</p>
<p>文件:<a href="https://docs.python.org/3/library/re.html#re.findall" rel="nofollow noreferrer">https://docs.python.org/3/library/re.html#re.findall</a></p>
<p><code>.append</code>将列表作为单个项目添加到新列表中</p>
<p>尝试:</p>
<p><code>host.extend(</code></p>
<p>文件:<a href="https://docs.python.org/3/tutorial/datastructures.html" rel="nofollow noreferrer">https://docs.python.org/3/tutorial/datastructures.html</a></p>