Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python read values from file

file = open('test.txt')
for line in file:
    fields = line.strip().split()
    print fields[0], fields[1], fields[2], fields[3]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #read #values #file
ADD COMMENT
Topic
Name
4+9 =