Manual:Pywikibot/login.py

login.py is the python program that logs the user running the pywikipedia bot on to the system using the data that can be found in user-config.py.

Logging in as a bot
Bots provide specified result and as a consequence, they should not need the attention that other changes require. By having a specific user to run the bot software, the changes created in this way will be hidden on a typical recent changes screen. Bot status is given when a community is in favour with someone running a bot.

How it knows where to login
In the user-config.py file there are three components:
 * 1) the language: mylang
 * 2) the family: family - this indicates either wikipedia or wiktionary
 * 3) the username: username - this can be any user but it should be a user who is registered to run as a bot.