A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

afc_statistics.py 312 B

1234567891011121314
  1. # -*- coding: utf-8 -*-
  2. from wiki.base_task import BaseTask
  3. class Task(BaseTask):
  4. """A task to generate statistics for [[WP:AFC]] and save them to
  5. [[Template:AFC_statistics]]."""
  6. task_name = "afc_statistics"
  7. def __init__(self):
  8. pass
  9. def run(self, **kwargs):
  10. print kwargs