This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from telegram import Bot | |
bot = Bot(token='token') | |
offset = 0 | |
while True: | |
updates = bot.get_updates(offset=offset) | |
for update in updates: | |
if update: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import itertools | |
import argparse | |
import random | |
import threading | |
import subprocess | |
import time | |
try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlite3 | |
from blackfield.variables import DB_FILE, DB_TEST_FILE, TEST_PERSON, INVALID_CART | |
if __name__ == '__main__': | |
connection = sqlite3.connect(DB_FILE) | |
cursor = connection.cursor() | |
try: |