def str2qr_terminal(text):
    """
    @brief      convert string to qrcode matrix and outprint
    @param      text   The string
    """
    Log.debug(text)
    qr = qrcode.QRCode()
    qr.border = 1
    qr.add_data(text)
    mat = qr.get_matrix()
    print_qr(mat)

    @brief      convert string to qrcode matrix and outprint
    @param      text   The string
    
wxbot_project_py2.7/wechat/utils.py