Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a url shortener in python

#How to make a URL Shortener in Python

####You need to install " pip install pyshorteners " in the terminal / powershell

## Code:

import pyshorteners
link = input("Enter link :  ")
shortener = pyshorteners.Shortener()
x=shortener.tinyurl.short(link)
print(x)
 
PREVIOUS NEXT
Tagged: #url #shortener #python
ADD COMMENT
Topic
Name
1+3 =