@lazyobject
def SetConsoleCursorPosition():
 sccp = ctypes.windll.kernel32.SetConsoleCursorPosition
 sccp.errcheck = check_zero
 sccp.argtypes = (HANDLE, COORD)
 sccp.restype = BOOL
 return sccp

@ lazyobject def SetConsoleCursorPosition ( ) : sccp = ctypes . windll . kernel32 . SetConsoleCursorPosition sccp . errcheck = check_zero sccp . argtypes = ( HANDLE , COORD ) sccp . restype = BOOL return sccp
set cursor position in console .