Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> import ansicodes
- >>> lol = '\x1b[1m\x1b[30mPo\x1b[22m\x1b[31mta\x1b[1m\x1b[30mto\x1b[0m \x1bEVERYONEm pies'
- >>> ansicodes.stripColors(lol)
- 'Potato \x1bEVERYONEm pies'
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement