tkinter is a standard Python GUI package.
Check out : tkinterBUTTONS1.py
Learn and code out most of the button types in tkinter.
Code Output :
This Book Management System is a CRUD (Create, Read, Update and Delete) application with a feature to search for books in the database. This application is supported with form validations and info messages as you use the various features of the application.
Add Book Window |
View Book Details Window |
Delete Book Window |
Update Book Window |
Click the button below to see the working and features of the application.
Link : Book Management System
The Movie Place! application uses an API to extract movie data using URL requests and displays the relevant retrieved data from the API on to the GUI.
The OMDb API is a RESTful web service to obtain movie information. By default all OMDb API responses are formatted as JSON. However, OMDb API also supports responses formatted as XML.
- tkinter - to design the GUI
- pillow (PIL) - to make images compatible with tk GUI
- io - to encode and use images from URL
- requests - to request and read data from the API response
- urllib - to request and read data from the API response
- socket - to configure connections
- json - to load and retrieve required fields from the API response
The first window that shows up is where you enter the name of the movie whose info you want to display on the GUI.
Suppose I enter avatar in the entry field,
If the movie is found, the response is sent and the GUI looks like this,
If the entered movie is not found, it is notified in the GUI using a validation message,
Also, at times there might be some issues connecting to the API service, in that case you get a message to resumbit, where you just need to click the SUBMIT
button again
Some more screenshots
The Weather App uses an API to obtain current weather data using URL requests and displays the relevant retrieved data from the API on to the GUI.
- Access current weather data for any location including over 200,000 cities
- Current weather is frequently updated based on global models and data from more than 40,000 weather stations
- Data is available in JSON, XML, or HTML format
- Available for Free and all other paid accounts
- tkinter - to design the GUI
- pillow (PIL) - to make images compatible with tk GUI
- io - to encode and use images from URL
- requests - to request and read data from the API response
- urllib - to request and read data from the API response
- socket - to configure connections
- json - to load and retrieve required fields from the API response
The first window that shows up is where you enter the name of the location.
If the location is found in the API, the weather data is returned.
If the location you entered is not found, the GUI shows a relevant message.
Also, at times there might be some issues connecting to the API service, in that case you get a message to resumbit, where you just need to click the Submit
button again.
The following shows a working example of The Weather App