-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
EXAMPLE_try_running_FALCO.py fails in python 3.13.7. The problem is with the the exec() command in propcustom_zernikes:
for i in range(1, maxtc+1):
tcs = str(i).strip()
cmd = "cos" + tcs + "t = np.cos(it)"
exec(cmd)
cmd = "sin" + tcs + "t = np.sin(it)"
exec(cmd)
The exec() returns without creating the variables cos1t and sin1t.
exec() does return successfully if used in the PyCharm console !
Metadata
Metadata
Assignees
Labels
No labels