def __init__(self, visible=False, timeout=30, app=None, args=None):
        """
            Create an emulator instance

            `visible` controls which executable will be used.
            `timeout` controls the timeout paramater to any Wait() command sent
                to x3270.
            `args` allows sending parameters to the emulator executable 
        """
        self.app = app or self.create_app(visible, args)
        self.is_terminated = False
        self.status = Status(None)
        self.timeout = timeout
        self.last_host = None
def __init__ ( self , visible = False , timeout = 30 , app = None , args = None ) : self . app = app or self . create_app ( visible , args ) self . is_terminated = False self . status = Status ( None ) self . timeout = timeout self . last_host = None
Create an emulator instance

            `visible` controls which executable will be used.
            `timeout` controls the timeout paramater to any Wait() command sent
                to x3270.
            `args` allows sending parameters to the emulator executable