(self, command)
Execute a BASIC statement.
Execute a BASIC statement.
Execute a BASIC statement .
def execute(self, command):
        """Execute a BASIC statement."""
        self.start()
        with self._impl.io_streams.activate():
            for cmd in command.splitlines():
                if isinstance(cmd, text_type):
                    cmd = self._impl.codepage.unicode_to_bytes(cmd)
                self._impl.execute(cmd)
def execute ( self , command ) : self . start ( ) with self . _impl . io_streams . activate ( ) : for cmd in command . splitlines ( ) : if isinstance ( cmd , text_type ) : cmd = self . _impl . codepage . unicode_to_bytes ( cmd ) self . _impl . execute ( cmd )