Drags the mouse along a specified path

    :param args: list of arguments passed to function
    :param function: path to traverse
    :return: None

def drag(*args, function = move):
    """
    Drags the mouse along a specified path

    :param args: list of arguments passed to function
    :param function: path to traverse
    :return: None
    """

    x, y = win32api.GetCursorPos()
    win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN, x, y, 0, 0)
    function(*args)
    x, y = win32api.GetCursorPos()
    win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP, x, y, 0, 0)