This repository contains a series of 10 exercises developed during the first semester of the VIBOT master's program in the Computer Science: Python course. Each exercise, designed and implemented by me, is aimed at practicing and enhancing skills in creating graphical user interfaces (GUIs) with Tkinter, a standard GUI library for Python. The exercises range from basic GUI elements to more complex applications, such as a simple calculator, and are of my complete authorship.
Develop a Tkinter application that displays a checkerboard. The canvas should be 300x300 pixels, with squares having a side length of 30 pixels. The program includes a specific function to draw a checkerboard pattern and another to draw a line of navy-colored squares.
Create a Tkinter application encapsulating a canvas widget within a class. The application should offer a drawing area and buttons for drawing circles, lines, triangles, and a quit button to exit the application.
Develop a graphical application with Tkinter that includes a menu bar. The file menu should contain options for Open, Save, and Exit, while the account menu should offer items like card, transfer, and transaction.
Create a graphical interface that prompts the user to enter their name, first name, and date of birth. Upon submission, it displays a message with the entered information.
Develop a GUI that shows the current time when a button labeled 'current time' is clicked.
Construct a window containing a canvas and four buttons. These buttons allow the user to draw circles with random properties, change the color of the paths, and clear the canvas.
Build a graphical window with a combo widget that lets users select or input a color. This color then becomes the background color of the master window.
a) Create a program to draw the 10 Olympic rings. Include a "Quit" button to close the window. b) Modify the program to draw each of the 5 Olympic rings with separate buttons.
Write a program that simulates the gravitational force between two stars represented by circles. Include the functionality to move the stars and display their distance and the gravitational force between them.
Program a simple calculator capable of performing addition, subtraction, multiplication, division, and calculating the square root. Include a clear button to reset calculations.
Each exercise is contained within its own Python file, named Exercise_1_TD2.py
through Exercise_7_TD3.py
. To run an exercise, simply execute the corresponding file in your Python environment:
python Exercise_1_TD2.py
Replace Exercise_1_TD2.py with the desired exercise number to run a different exercise.
Python 3.x Tkinter library (usually included with Python)