Hacker News new | ask | show | jobs
by bwindsor 2227 days ago
Or use secrets.token_urlsafe https://docs.python.org/3/library/secrets.html#secrets.token...
1 comments

Hey thanks - somehow, I entirely missed this being a Thing in the stdlib in 3. :) I've used it in my PR on baicunko's repo.