擅长:python、mysql、java
<pre><code>r = csv.reader(f)
first_line = next(r)
second_line = next(r)
for line in r:
print(line) #rest of the lines
</code></pre>
<p><code>reader</code>返回迭代器:<a href="https://docs.python.org/3/library/csv.html#csv.reader" rel="nofollow">https://docs.python.org/3/library/csv.html#csv.reader</a></p>