1. from itertools import islice  

  2. file_name='XXXX'
  3. input_file = open(file_name)  

  4. for line in islice(input_file, 1, None):  

  5.     do_readline() 

 原文地址:http://blog.csdn.net/vernice/article/details/46501885

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
猜你喜欢
  • 2022-01-06
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-12-20
  • 2021-11-12
相关资源
相似解决方案