Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- from vkontacher.vktestbot import VkTestBot
- import time
- bot = VkTestBot()
- bot.auth('tel_or_email', 'mypassword')
- i = 0
- limit = 20
- while True:
- i += 1
- bot.api('wall.post', {'message': u'Сообщение #%s' % i})
- if i == limit:
- break
- time.sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement