description |
---|
Generate UUIDs in Python using the popular requests or urllib3 libraries. |
pip install requests
import requests
uuid = requests.get("https://uuidgen.dev/").text
print(uuid)
pip install urllib3
import urllib3
http = urllib3.PoolManager()
r = http.request('GET', 'https://uuidgen.dev/')
print(r.data.decode('utf-8'))