Hi,
I am a new user on Python and I really love it.
I have a big text file with each line like:
label 3
teststart 5
endtest 100
newrun 2345
I opened the file by uu=open('test.txt','r') and then read the data as
xx=uu.readlines()
In xx, it contains the list of each
I haven't used it myself, but I'm pretty sure you're going to get a lot of
pointers to
http://pyparsing.wikispaces.com/
Also you may want to start naming your variables something more descriptive.
IE
testResultsFile = open('test.txt','r')
testLines=testResultsFile.readlines()
for line in
wang frank wrote:
Hi,
I am a new user on Python and I really love it.
I have a big text file with each line like:
label 3
teststart 5
endtest 100
newrun 2345
I opened the file by uu=open('test.txt','r') and then read the data as
xx=uu.readlines()
In xx,
Hello Frank,
I am a new user on Python and I really love it.
The more you know, the deeper the love :)
I have a big text file with each line like:
label 3
teststart 5
endtest 100
newrun 2345
I opened the file by uu=open('test.txt','r') and then read the data
wang frank [EMAIL PROTECTED] wrote:
Hi,
I am a new user on Python and I really love it.
I have a big text file with each line like:
label 3
teststart 5
endtest 100
newrun 2345
I opened the file by uu=open('test.txt','r') and then read the data as