What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-12-23 18:11:22
script to see what tkinter fonts installed on system
from tkinter import * from tkinter import font root = Tk() root.title('Font Families') fonts=list(font.families()) fonts.sort() def populate(frame): '''Put in the fonts''' listnumber = 1 for item in fonts: label = "listlabel&quo... Add solution -
Python 2021-11-22 05:12:11
pygame.mixer.music.queue
import pygame import time from tkinter import * root = Tk() c = ["music1.mp3","music2.mp3","music3.mp3"] #you_can_add_more x= 0 def music(): pygame.init() pygame.mixer.init() pygame.mixer.music.load(c[x]) py... Add solution -
Python 2021-11-20 21:49:14
Python Tkinter timer animation
#!/usr/bin/env python3 # Display UTC. # started with https://docs.python.org/3.4/library/tkinter.html#module-tkinter import tkinter as tk import time def current_iso8601(): """Get current date and time in ISO8601""" ... Add solution -
Python 2021-11-18 20:12:14
tkiner border
from tkinter import * root = Tk() example = Label(root, Text="Hello World!", borderwidth="2", relief="groove") # Releif is the effect what goes with the border. #" flat", "raised", "sunken", &qu... Add solution
Best helpers
Ranking is empty