old_contents: from pyfancy import *
  
  pyfancy().red("Hello").raw(", ").blue("world!").output()
  pyfancy().multi("Multicolored text").output()
  pyfancy().rainbow("Rainbow text").output()
  pyfancy().parse("{red foo {bold bar} baz}").output()
  print pyfancy().red("Hello").raw(", ").blue("world!").strip()
  
new_contents: from pyfancy import *
  
  pyfancy().red("Hello").raw(", ").blue("world!").output()
  pyfancy().multi("Multicolored text").output()
  pyfancy().rainbow("Rainbow text").output()
  pyfancy().parse("{red foo {bold bar} baz}").output()
  print(pyfancy().red("Hello").raw(", ").blue("world!").strip())
  
subject: Make demo.py py3 compatible.