Read all lines : Readlines : File PYTHON TUTORIALS


PYTHON TUTORIALS » File » Readlines »

 

Read all lines


import pprint
pprint.pprint(open(r'c:test.txt').readlines())



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo File
» Readlines