Forum Discussion

SangeetNenwani's avatar
SangeetNenwani
Contributor
4 months ago

Use of Local Variables in Python Framework

I am utilizing local variables in the script. In the past, I employed the same method with the c# framework, and it functioned well. However, now that I am using the python framework, when I use a local variable, it behaves like a constant. I can't modify it in one function and use its modified value in second function. I prefer not to define global variable, as this approach of using local variable in multiple places would lead to an increase in global variables
Does someone know a solution for it?