def ljust(s,n,fillchar=' '):
    """ if string has unicode chars, the built-in l/rjust cannot 
    auto-adjust and align, that's why this two functions come"""
    no_ascii_list = re.findall(r'[^\x00-\x7F]+', s)
    ln = len(''.join(no_ascii_list))
    return s.ljust(n-ln, fillchar)
dataset/ETHPy150Open sk1418/zhuaxia/zhuaxia/util.py/ljust/original