s): """ Remove ANSI color codes from the string. """ return re.sub('\033\\[([0-9]+)(;[0-9]+)*m', '', s). Example 4. Source File: utils.py From WebPocket with ...
確定! 回上一頁