This is a simple project made using Tkinter, which is the standard Python interface to the Tcl/Tk GUI toolkit.
It simply allows user to roll dice in real time.
The Python Imaging Library adds image processing capabilities to your Python interpreter.
This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities.
pip install Pillow
from tkinter import *
from PIL import ImageTk, Image
def makeTkImage(fileSource):
return ImageTk.PhotoImage(Image.open(fileSource))