Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def thu():
- thursday = cursor.execute("SELECT * FROM timetable_pks_2 WHERE day ='Четверг'")
- while True:
- thursday = cursor.fetchone()
- if thursday == None:
- break
- vk.messages.send(
- user_id=event.user_id,
- message = (thursday[0], '\n', thursday[1], '\n', thursday[2], '\n', thursday[3], '\n', thursday[4]),
- random_id=randint(1, 100000000000000000000000000000000),
- keyboard=keyboard.get_keyboard()
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement