Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monday = cursor.execute("SELECT * FROM timetable_pks_2 WHERE day ='Понедельник'")
- while True:
- monday = monday.fetchone()
- i = monday
- if monday == None:
- break
- vk.messages.send(
- user_id=event.user_id,
- message=('\n'.join(i)),
- random_id = time_ns(),
- keyboard=keyboard.get_keyboard()
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement