User talk:Russell Blau/Using pywikibot on Labs

From Wikitech
Jump to navigation Jump to search

Question , step 5

Hi Russell Blau !

At step 5, you wrote « ... but ".passwd" or "passwords" is ... » : this is "passwords" or ".passwords" as ".passwd" ?

Thank you for this great tuto :)

Hawk-Eye (talk) 09:49, 17 May 2013 (UTC)

It doesn't matter. You can call this file 'petunias' or 'chocolate_candy' if you want. :-) As long as you use the same name in your user-config.py file. --russblau (talk) 01:13, 19 May 2013 (UTC)
It's OK, thanks (for examples :p) — Hawk-Eye (talk) 06:37, 19 May 2013 (UTC)

Great!

I was racking my brain to get PWB working, thanks a lot for this quick and useful guide!!!

(PS: maybe you should write that one has to refresh the shell access after changing the PYTHONPATH) --Ricordisamoa 14:55, 19 May 2013 (UTC)

To use pwb.py

When trying to use pwb.py I was running into errors of not finding the user-config file, and I was guided through the following

PYWIKIBOT2_DIR='/data/project/(project name)/.pywikibot'
export PYWIKIBOT2_DIR

and this seems to have resolve components. Not sure how relevant, however, your instructions weren't enough for me to get things working. — billinghurst sDrewth 15:07, 13 September 2014 (UTC)