Sorry I cannot follow this approach. Can you explain?
> 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.
_______________________________________________
pywikibot mailing list --
pywikibot@lists.wikimedia.orgTo unsubscribe send an email to
pywikibot-leave@lists.wikimedia.org