Hi Dmitriy,
> OK, I think the best idea will be to plan and
> construct classes with a view of the further changes.
To this effect, I have created a wiki page
https://github.com/ghostmansd/gnulib-python/wiki/Architecture
that explains this architecture and mentions a couple of ideas,
where Python classes could be useful.
Another use of classes is to group some of the global variables
together. This wiki page:
https://github.com/ghostmansd/gnulib-python/wiki/GlobalVariables
is more a skeleton for you, so you can keep an overview on the
structure that you are giving to this set of variables.
I'm sure you will have many more ideas.
Don't hesitate to edit these wiki pages. If you want to make it
clear which parts comes from whom, we can work with some markers
in the text: [DS] are comments from you, [BH] are comments from me.
Bruno