Hi
I'm getting the error with the use of mytime. Is this part of a library?
Thank you, Dave
I'm getting the error with the use of mytime. Is this part of a library?
Thank you, Dave
Error:Traceback (most recent call last):
File "C:/Users/David/PycharmProjects/pythonProject2/venv/init_collapse.py", line 233, in <module>
print("%.8f" % mytime, file=output)
NameError: name 'mytime' is not defined
with open(file_ls, "w") as output: output.write("%d %d %d" % (np.shape(kxx)[1], np.shape(kxx)[0], collapse_steps)) for ii in np.arange((np.shape(kxx)[1])): print("%.8f" % (kxx[0, ii]), file=output) ### for ii in arrange(shape(kyy)[0]): for ii in np.arange(np.shape(kyy)[0] - 1, -1, -1): print("%.8f" % (kyy[ii, 0]), file=output) for ii in np.arange(collapse_steps): print("%.8f" % mytime, file=output)]