how You use different configs in the same script?
In my case, I would first run a script to select which user I needed
and that script copied the appropriate user-config file. After that, I
would run a second script that used pywikibot. I have not tried
YiFei Zhu's solution.