Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 729 Bytes

README.md

File metadata and controls

34 lines (19 loc) · 729 Bytes

URL Shortener Script

This Python script is a simple URL shortener that utilizes the pyshorteners library to generate shortened URLs using the TinyURL service.

Requirements

  • Python 3.x
  • pyshorteners library

Installation

Install the required library using the following command:

Usage

Run the script:

python url_shortener.py Enter the URL you want to shorten when prompted.

The script will provide you with the shortened URL.

Note

You can customize the script to use other URL shortening services supported by pyshorteners by modifying the s.tinyurl.short() line in the script.

Feel free to explore and modify the script to suit your needs.

command

pip install pyshorteners

Happy shortening!