Python / Tkinter - Tic Tac Toe Game Tutorial for Beginners with TKinter - Part 1/3

preview_player
Показать описание
Learn to code the GUI version of Tic Tac Toe with Python. In this tutorial download the images we need to complete this game. We also show you how to use tkinter together with python to begin this project.

GitHub Repository:

Sponsor me on GitHub!

Follow my blog:

O image:

X image:

Tic Tac Toe image:
Рекомендации по теме
Комментарии
Автор

I accidentally created two btn5 textvariables lol omg please delete one of them! Don't forget to hit like 👍

codefoxx
Автор

At the start, I got my icon as an ico icon and when I did the code to set the icon, I don't get an error but it doesn't work! The icon doesn't change! I am on mac using PyCharm

PhoenixVids
Автор

yo can you give the link for the python ide

adrianbustamante
Автор

when i use "root.iconbitmap('Tic-Tac Toe.ico')" it comes up with the error "_tkinter.TclError: bitmap "Tic-Tac Toe.ico" not defined" the file path is correct and as an alternative, i instead replaced it with my path directory using but it still throws the error, would you know what causes this? cheers :)

EDIT: using "root.iconphoto(True, PhotoImage(file="tic tac toe.ico"))" didn't work either

pixelKnight-eddm