Advertisement
ijontichy

success!

Oct 25th, 2011
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. >>> import ansicodes
  2. >>> lol = '\x1b[1m\x1b[30mPo\x1b[22m\x1b[31mta\x1b[1m\x1b[30mto\x1b[0m \x1bEVERYONEm pies'
  3. >>> ansicodes.stripColors(lol)
  4. 'Potato \x1bEVERYONEm pies'
  5. >>>
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement