GMgKe586q6suSQnyqZLlGCooeWM
Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
Home
Me
Search
Tuesday, December 21, 2010
Reading File In Python
Here's a simple code on how to read file through Python:
>> fd = open("D://data.txt")
>> content = fd.readline();
>> while(content!=""):
>> content = fd.readline();
>> print content
Reading File In Python
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment