Web Oom
Build and Share Web Technology
Python: How to read lines
python
No Responses »
Dec
22
2009
Use readlines()
For example,
arg = "filename" f = open(arg, 'r') lines = f.readlines() f.close()
Amazon.com Widgets
© 2011
Web Oom
Suffusion theme by Sayontan Sinha
Switch to our mobile site