This file contains hidden or 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 PIL import Image, ImageDraw, ImageSequence, ImageFont | |
import io | |
import click | |
FIRST_NUMBER = click.prompt('Enter the low number of the range', default=10330, type=int) | |
LAST_NUMBER = click.prompt('Enter the high number of the range', default=10346, type=int) | |
FRAME_DURATION = click.prompt('How long to hold on each number', default=100, type=int) | |
ANIMATED_GIF_FILENAME = click.prompt('Enter the name of the animated gif to generate', default="incrementing-counter.gif", type=str) | |
TEXT_COLOR = (255,255,255) |
OlderNewer