Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

spending time for writng

Hello,

I want to write a load model in savnw.dyr file, but when I open the file, I couldn't see anything, actually it's taking too late to write on it, I don't know what't the problem. can you help me? Thanks.

I My code is as follow:

import time
start = time.clock() 
f= open("savnw.dyr","a") 
LM=20 
SM=50
DL=6
CP=7
Rem=10
f.write('\t\t\t%0.2f\t%0.2f\t%0.2f\t%0.2f\t%0.2f'%(LM,SM,DL,CP,Rem))
end = time.clock()
print end