<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def execute_lines(self, lines):

 """Execute lines and give focus to shell"""

        self.shell.execute_lines(to_text_string(lines))
        self.shell.setFocus()