# -*- coding: utf-8 -*-
from code import InteractiveConsole

class EspressoConsole(InteractiveConsole, object):
    def interact(self):
        banner = """███████╗███████╗██████╗ ██████╗ ███████╗███████╗███████╗ ██████╗ 
██╔════╝██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝██╔════╝██╔═══██╗
█████╗  ███████╗██████╔╝██████╔╝█████╗  ███████╗███████╗██║   ██║
██╔══╝  ╚════██║██╔═══╝ ██╔══██╗██╔══╝  ╚════██║╚════██║██║   ██║
███████╗███████║██║     ██║  ██║███████╗███████║███████║╚██████╔╝
╚══════╝╚══════╝╚═╝     ╚═╝  ╚═╝╚══════╝╚══════╝╚══════╝ ╚═════╝ 
"""
        super(EspressoConsole, self).interact(banner)

    def raw_input(self, prompt=''):
        prompt = '[=>]'
        return super(EspressoConsole, self).raw_input(prompt)

# -*- coding: utf-8 -*-
from code import InteractiveConsole

class EspressoConsole(InteractiveConsole, object):
    def interact(self, banner = None):
        banner = """███████╗███████╗██████╗ ██████╗ ███████╗███████╗███████╗ ██████╗ 
██╔════╝██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝██╔════╝██╔═══██╗
█████╗  ███████╗██████╔╝██████╔╝█████╗  ███████╗███████╗██║   ██║
██╔══╝  ╚════██║██╔═══╝ ██╔══██╗██╔══╝  ╚════██║╚════██║██║   ██║
███████╗███████║██║     ██║  ██║███████╗███████║███████║╚██████╔╝
╚══════╝╚══════╝╚═╝     ╚═╝  ╚═╝╚══════╝╚══════╝╚══════╝ ╚═════╝ 
""" or banner
        super(EspressoConsole, self).interact(banner)

    def raw_input(self, prompt=''):
        prompt = '[=>]'
        return super(EspressoConsole, self).raw_input(prompt)

Make EspressoConsole.interact conform to InteractiveConsole.interact