(Apr-20-2021, 05:28 AM)ndc85430 Wrote: Again, avoid doing this because that code is more difficult to read and harder to maintain. If you have a load of things that you need to use, then put those things in a collection as buran shows.
For sure your experiences and feedbacks are much greater than mine, so I'm seriously listening to your advices and warnings

I’m using dictionaries to record and store data where dictionaries are physical quantities and Keys are components for example; values are generally updated during the recording process; as you can imagine, their names, numbers, sizes and so on vary for each study.
I used locals(), globals(), exec() so far, but as you mentioned it should be avoided, and I’m working on a (good) way to remove them: even if I’m trying to well document my codes, maintainability is ones of the weakness.
In addition, I’m working in huge amount of data (the latest file I worked on as about 1 billion lines), it’s necessary to remain “fast” and so I want to read it only ounce (currently it takes few minutes for reading and storing) .. but I'm not perfect
