擅长:python、mysql、java
<ol>
<li><p><a href="https://docs.python.org/3.5/library/importlib.html#module-importlib" rel="nofollow">importlib</a>允许您从字符串名称导入任何Python模块。您可以通过查看路径中的文件列表来实现自动化。</p></li>
<li><p>使用<code>__all__</code>更像是Python。查看<a href="https://docs.python.org/2/tutorial/modules.html#importing-from-a-package" rel="nofollow">here</a>了解更多详细信息。</p></li>
</ol>