Created
October 22, 2019 05:59
-
-
Save wido/3fc8d80bbb8db426e8e026efca2393ce to your computer and use it in GitHub Desktop.
Python 3 one-liner generate random string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 -c "import random; import string; print(''.join(random.choice(string.ascii_lowercase) for i in range(10)))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment