擅长:python、mysql、java
<p>可以使用<a href="https://docs.python.org/2/library/string.html#string.join" rel="nofollow">^{<cd1>}</a>方法连接字符串</p>
<p>前两项已经是字符串,第三项不是。所以你必须先把它转换成一个字符串</p>
<pre><code>filename = ''.join([dosen, matkul, str(pertemuan)])
</code></pre>