# If doing this via the command line, could run: #python3 -c "import random; print(random.randrange(1 << 30, 1 << 31))" import random def random_anki_identifier(): return random.randrange(1 << 30, 1 << 31)