Pygame делает это:
#!/usr/bin/env python
import pygame
import time
WHITE = (255, 255, 255)
RED = (255, 0, 0)
(width, height) = (40, 40)
background_color = WHITE
pygame.init()
screen = pygame.display.set_mode((width, height))
pygame.display.set_caption("VPN-Status")
screen.fill(background_color)
pygame.display.update()
while True:
pygame.draw.circle(screen, RED, (20, 20), 20)
pygame.display.update()
time.sleep(0.25)
pygame.draw.circle(screen, WHITE, (20, 20), 20)
pygame.display.update()
time.sleep(0.25)