def rword(length=5):
    s = ''
    for i in range(length):
        if i % 2 == 0:
            t = _consonants
        else:
            t = _vowels
        s += random.choice(t)
    return s
Generate a random word-like string.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/bs4/diagnose.py/rword