AnsweredAssumed Answered

How to collect the outputs in a scripts python for arcgis ?

Question asked by PaulBonnard on Jun 5, 2018
Latest reply on Jun 6, 2018 by Dan_Patterson

Hi everybody,


I just begin to work with argis and after a long and hard work for loading the arcpy module, i face a new problem.


I'm sure it is pretty simple but i do not have all the habits yet.


I have to make a script in python, in the script the user gives the number of variables and all the weights of these variables and the script return the new weight of these variables normalised.


  • Example, 2 variables that have the weight 2 and 4 and the script return 2/6 and 4/6


The code is easy, i use arcpy.GetParameter to get Var_Number but i dont know how to iterate on it, and how to return the new weight.


Thank you for reading me.



here is my code