<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def select_row(self, steps):
 """Select row in list widget based on a number of steps with direction. Steps can be positive (next rows) or negative (previous rows). """

        row = self.current_row() + steps
        if 0 <= row < self.count():
            self.set_current_row(row)