Script execution

This commit is contained in:
gac-x11ma
2017-12-14 03:03:50 +01:00
parent af24d108aa
commit d081b3b935

View File

@@ -43,7 +43,7 @@ os.chdir("/sls/X11MA/data/X11MA/beamtime_december/")
file_prefix = time.strftime("%y%m%d")
ts=time.time();
time_prefix = datetime.datetime.fromtimestamp(ts).strftime('%H:%M:%s')
filename=open("data"+file_prefix++time_prefix+".txt","a")
filename=open("data"+file_prefix+time_prefix+".txt","a")
#for i in range(0,No_of_steps):
# B = -Max + 2*i*dB;