GMgKe586q6suSQnyqZLlGCooeWM

Pages

Search

Wednesday, December 22, 2010

Reading Text Files In Jython

>>> file = open("data.txt","r");
>>> for line in file.readlines():
...    print line
...
Holla the world
This come from text file
>>> file.close()
    
Share/Bookmark

1 comment: