How can I remove the ANSI escape sequences from a string in python How can I remove the ANSI escape sequences from a string in python python python