code: def console_from_xp(filename: str) -> tcod.console.Console:
      
      return tcod.console.Console._from_cdata(
          lib.TCOD_console_from_xp(filename.encode("utf-8"))
      )
docs: Return a single console from a REXPaint `.xp` file.