Generate Unique IDs in Python (UUIDs)

preview_player
Показать описание
Today we learn how to generate universally unique identifiers (UUIDs) in Python.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

🌐 Social Media & Contact 🌐

Рекомендации по теме
Комментарии
Автор

I love how clear you explained in every videos. I'm very inspired. Thanks.
I'm waiting for your next video🤩

alvifsandanamahardika
Автор

This is good to know. One very common habit is to generate “unique” IDs by using integers in Excel and dragging it as the data set increases, but of course this can lead to issues as the data is manipulated and more people work with it.

josueramirez
Автор

The last example you gave is not good enough, because it checks for duplicates against the single value ("test") and not against all the values that are randomly generated within the "for" loop. It is kind of "The birthday paradox" (or "The birthday problem").

jihrijihri
Автор

Оно не гарантирует уникальности, чтобы было полностью уникальное нужно использовать uuid1( и здесь рандомное число огромного диапазона), потому что uuid1 будет брать текущее время до наносекунд и ещё рандом.НОО это занимает в 2 раза больше времени чем uuid4.

mindblowntrue
Автор

thanks for video! One quastion I have: can we cut uuid to smaller sting? or we need to use generating random digit or string fo this?

AV-TV
Автор

what pycharm icons and themes are you using?

shrek_destruidor_de_Trono
Автор

Im trying javascript for 1 week and still mistakes with if() {} statement

gamertronky
Автор

Bruh do a Python OOPS and a good project for 2022 resumes

gokulkrishnan