Re: str() and repr() question

2007-04-26 Thread Mark T
"adima" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi All! > Sorry, my English isnt good, but get a try to describe my problem. > > Today we wrote next script: > > import os, glob, time, string > files_to_test = ( "J:\\BWNEW\\!Unerase\\test.test", "L:\\Temp\Nick\ > \test.test",

Re: str() and repr() question

2007-04-26 Thread Thomas Krüger
adima schrieb: > str = DoTestTime(EachFile) ^^^ > print type(str) > for s in str: > print s > out.write(str(s)) ^^^ > Where is the problem here? > Thanks in advan

str() and repr() question

2007-04-26 Thread adima
Hi All! Sorry, my English isnt good, but get a try to describe my problem. Today we wrote next script: import os, glob, time, string files_to_test = ( "J:\\BWNEW\\!Unerase\\test.test", "L:\\Temp\Nick\ \test.test", "F:\\TRANSIT\\nick\\test.test") outfile="c:\\temp\\statistic" def DoTestTime(file