def _print_at(self, text, x, y):
            # We can throw temporary errors on resizing, so catch and ignore
            # them on the assumption that we'll resize shortly.
            try:
                # Move the cursor if necessary
                if x != self._x or y != self._y:
                    self._stdout.SetConsoleCursorPosition(
                        win32console.PyCOORDType(x, y))

                # Print the text at the required location and update the current
                # position.
                self._stdout.WriteConsole(text)
                self._x = x + len(text)
                self._y = y
            except pywintypes.error:
                pass
Print string at the required location.
dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/screen.py/_WindowsScreen._print_at