Nov-08-2017, 06:08 AM
I hardly looked at it and already strongly suspect it's this annoying "list parameters are references to external list not unique copies, so editing a list in a function will edit the external list as well". So you have to do this retarded workaround:
import copy #top of script #then at function, deepcopy the lists so they are unique not references def faceblanche90(REFligne1,REFligne2,REFligne3): ligne1=copy.deepcopy(REFligne1) ligne2=copy.deepcopy(REFligne2) ligne3=copy.deepcopy(REFligne3)lemme know if that was the problem, its such a common snag I bet it was