📅  最后修改于: 2022-03-11 14:45:49.642000             🧑  作者: Mango
#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)