def print_banner():
    banner = [
      "Python %s " % sys.version,
      "IDAPython" + (" 64-bit" if __EA64__ else "") + IDAPYTHON_VERSION % " v%d.%d.%d %s (serial %d) (c) The IDAPython Team <idapython@googlegroups.com>"
    ]
    sepline = '-' * (max([len(s) for s in banner])+1)

    print(sepline)
    print("\n".join(banner))
    print(sepline)

# -----------------------------------------------------------------------

# Redirect stderr and stdout to the IDA message window
dataset/ETHPy150Open EiNSTeiN-/idapython/python/init.py/print_banner/swapped operands of `%`