Skip to content

Singh-Mahendra-07/SWIM_STACK_PYTHON_03

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SWIM_STACK_PYTHON_03

SIMPLE URL SHORTNER USING TINYURL AND PYSHORTNER This Python program is a simple URL shortener application.

Required Libraries:

  1. tkinter: Used for creating the GUI of the application.
  2. pyshorteners: Used for shortening the URLs.

Functionality:

  • The program creates a simple GUI where the user can enter a long URL and get a shortened URL in return.
  • The user can also clear the text boxes with the "Clear" button.

Functions:

  • shorten_url(): Takes the long URL from the user input, shortens it using the pyshorteners library, and displays the shortened URL in the GUI. If an error occurs during this process, it shows an error message.
  • clear_textboxes(): Clears the text boxes for the long URL and the shortened URL.

Please ensure that you have the required libraries installed. You can install them using pip:

pip install tkinter pyshorteners

Please ensure that you have a stable internet connection as the pyshorteners library needs to connect to the internet to shorten URLs.

About

SIMPLE URL SHORTNER USING TINYURL AND PYSHORTNER

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages