Hi, let's rivisit some code. This is for jupyter notebook. Go in the cmd or terminal and start it so: jupyter notebook After the notebook is started write this code: 1. Import the modules from IPython.core.display import display # this is for jupyter from PIL import Image as Img # this to create images from random import shuffle # this to shuffle the cards 2. Create a list with the name of the cards Download the cards: https://apprendimento.github.io/img/cdslittle4.rar unzip them in the dir where the py file is and then in img/cdslittle4/ This is the code that creates a list of all the name images of the cards to be loaded num = [ str ( x ) for x in range ( 1 , 11 )] num [ 0 ] = 'ace' seeds = [ "_of_hearts" , "_of_clubs" , "_of_diamonds" , "_of_spades" ] cards = [ "img/cdslittle4/" + x + s + ".png" for x in num for s in seed...
How to program with the python language together with tkinter, pygame etc.