(Dec-28-2016, 10:09 PM)birdieman Wrote: Everything works fine -- no problems. My questions:
1. If I have say 100 variables, do I follow the same logic/pattern?
2. Is there a better/faster/simpler way to write many variables?
thanks
If you have 100 variables the problem is keeping track of the 100 variables throughout the code, not just at the place where you print them...
What I would so is see if I can find logical groupings of these variables and make object classes from them. Then I can define/code the __str__(self) method in these classes and I just have to give the class instance in a print call and it would output the string with all its components... And these classes will likely have other profitable uses.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net