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.

afc_statistics.py 335 B

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