<div>hello , when you run this code:</div><div><div>import csv</div><div>csvFile = open('mycve.csv','r')</div><div>csv_reader = csv.reader(csvFile)</div><div>print list(csv_reader )</div><div>print list(csv_reader )</div></div><div><br></div><div>you will find that first 'print' can print the content of mucve.csv successfully , but the second print will print an empty list</div><div>when I try to solve this question , I find that csv_reader's line_num variable is the length of mycve.csv after first print function.</div><div>so when I start the second print , I will get an empty list </div><div>I try to solve like this after first print  :</div><div>csv_reader.line_num = 0</div><div>but it's a readonly attribute.</div><div>I know when we programming £¬ we can solve this bug like this :</div><div>a = list(csv_reader)</div><div>print a</div><div>print a</div><div><br></div><div>but when we want to use csv_reader again , we will get an empty list,maybe some people will doubt when they code like this:</div><div>a = list(csv_reader)</div><div>b = list(csv_reader)</div><div><br></div><div>why 'b' is empty!!?</div><div>this is a little bug of python,but I hope you can solve this ,wish python better and better</div>