Python `\x1b(B`做什么?

Python `\x1b(B`做什么?,python,ansi-escape,Python,Ansi Escape,我是一个用户,最近,当我试图找出term.bold()函数的内容时,我得到了以下输出: \x1b[1m\x1b(B\x1b[m 我知道\x1b[1m和\x1b[m做了什么,但是\x1b(B做了什么?我试着打印它,但它似乎没有任何作用 提前感谢!控制序列\x1b(B选择默认字符集ASCII。请参阅: 进一步阅读: 应该有帮助。提示:B不是转义序列的一部分。@Joachim Pileborg啊,我明白了……所以\x1b(设置默认字体。那么B代表什么呢? ESC ( C Designate

我是一个用户,最近,当我试图找出
term.bold()
函数的内容时,我得到了以下输出:
\x1b[1m\x1b(B\x1b[m

我知道
\x1b[1m
\x1b[m
做了什么,但是
\x1b(B
做了什么?我试着打印它,但它似乎没有任何作用


提前感谢!

控制序列
\x1b(B
选择默认字符集ASCII。请参阅:

进一步阅读:


应该有帮助。提示:
B
不是转义序列的一部分。@Joachim Pileborg啊,我明白了……所以
\x1b(
设置默认字体。那么B代表什么呢? ESC ( C Designate G0 Character Set (ISO 2022, VT100). Final character C for designating 94-character sets. In this list, 0 , A and B apply to VT100 and up, the remainder to VT220 and up. The VT220 character sets, together with the Portuguese character set are activated by the National Replacement Character controls. The A is a special case, since it is also activated by the VT300-control for British Latin-1 separately from the National Replacement Character controls. ... C = B -> United States (USASCII).
    normal = tigetstr('sgr0')