#importing pearlUtils execfile("/sls/X03DA/data/gac-x03da/Data1/2018/10/Granas/XPSstuff/commands/pearlUtils.py") for i in range(5): mprint("___prepare O1s position "+str(i)+" measure___") pos_file = "pos_"+str(i)+".txt" copyFile(pearlU_path+"settings/",pos_file ,"actual_GE_pos.txt") execfile("/sls/X03DA/data/gac-x03da/pshell/home/script/users/Granas/ManipulatorScan_O1s.py")