A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base_task.py 289 B

123456789101112
  1. # -*- coding: utf-8 -*-
  2. # A base class for bot tasks that edit Wikipedia.
  3. class BaseTask(object):
  4. def __init__(self):
  5. """A base class for bot tasks that edit Wikipedia."""
  6. self.task_name = None
  7. def run(self, **kwargs):
  8. """Run this task."""
  9. pass