Skip to content

Instantly share code, notes, and snippets.

@lukateras
Created November 5, 2022 09:35
Show Gist options
  • Save lukateras/d5d2a173a09971a74f1cad6cc5478861 to your computer and use it in GitHub Desktop.
Save lukateras/d5d2a173a09971a74f1cad6cc5478861 to your computer and use it in GitHub Desktop.
import secrets
a = [
'A', # Latin lowercase
'a', # Latin uppercase
'А', # Cyrillic uppercase
'а', # Cyrillic lowercase
'あ', # Japanese Hiragana
# 'ア', # Japanese Katakana
# '𛀂', # Japanese Hentaigana (archaic) variant 1
# '𛀃', # Japanese Hentaigana (archaic) variant 2
# '𛀄', # Japanese Hentaigana (archaic) variant 3
# '𛀅', # Japanese Hentaigana (archaic) variant 4, might also mean "wo"
# 'า', # Thai
# 'ა', # Georgian Mkhedruli
# 'ⴀ', # Georgian Nuskhuri (liturgical)
# 'Ⴀ', # Georgian Asomtavruli (liturgical)
]
while True:
print(secrets.choice(a), end='')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment