Giter Club home page Giter Club logo

python_gui_tkinter's Introduction

tkinter GUI

Python GUI programming using tkinter

tkinter is a standard Python GUI package.

Program List

Buttons in tkinter

Check out : tkinterBUTTONS1.py

Learn and code out most of the button types in tkinter.

Code Output :

tkinter buttons1

(Back to top)


Book Management System

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.

Developed using :

  • Python 3.7.0
  • tKinter (Tcl/Tk 8.6)
  • SQLite3 3.21.0

Screenshots ๐Ÿ“ท :

Add Book Window.png
Add Book Window
View Book Details Window.png
View Book Details Window
Delete Book Window.png
Delete Book Window
Update Book Window.png
Update Book Window

Click the button below to see the working and features of the application.

Link : Book Management System

(Back to top)


The Movie Place

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.

API used:

OMDb API

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.

Libraries used:

  • 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

Screenshots ๐Ÿ“ท :

The first window that shows up is where you enter the name of the movie whose info you want to display on the GUI.

enter movie name.png

Suppose I enter avatar in the entry field,

enter avatar

If the movie is found, the response is sent and the GUI looks like this,

avatar

If the entered movie is not found, it is notified in the GUI using a validation message,

not found

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

resubmit

Some more screenshots

harry potter stranger things
uri 3 idiots

(Back to top)


The Weather App

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.

API used:

OW API

  • 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

Libraries used:

  • 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

Working of The Weather App

The first window that shows up is where you enter the name of the location.

first window

If the location is found in the API, the weather data is returned.

weather data

If the location you entered is not found, the GUI shows a relevant message.

not found

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.

resubmit

The following shows a working example of The Weather App

The Weather App

Screenshots ๐Ÿ“ท :

england durban mysore

(Back to top)

python_gui_tkinter's People

Contributors

somrajchowdhury avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.