DEV Community

Discussion on: How to build a Password Generator using Python

Collapse
 
sqlrob profile image
Robert Myers • Edited

I understand that, but way too often code from these projects end up in production, or people come away with the idea "random" is good enough.

And considering the change is just changing random.sample to secrets.choice, it's easy enough to start people with good habits.

Thread Thread
 
mindninjax profile image
Rishabh Singh ⚡

You are right Robert! I will write to my editor and ask him to make changes ASAP! Once again thanks for your suggestion!

People like you help us refine our code and help the community!

Have a great day Robert!