2012/3/10 Mike Cariaso <cariaso(a)gmail.com>
> I don't want the tutorial to alter the users machine, so my hope is to
> allow every bot to be standalone, with no effect on the filesystem,
> except for an svn/git checkout into a removeable subdir. For every
> other language that's been easy, but pywikipediabot REALLY seems to
> want the user-config and family files. What I have seem successful
> enough, but perhaps its 1) needlessly overcomplicated or 2) too far
> removed from pywikipediabot style. I was hoping for your feedback on
> how you would write the example instead.
>
Hi Mike,
why dou you want to mix family file and user-config and the actual script
function in one file? This is simply not the concept of Pywikibot. You will
lose the flexibility of it. What is the advantage of making the script
standalone? Btw. it is no more standalone at the point you import family.py
and query.py. So why not use a proper family file?
Bináris