code: def move_active_window(x, y):
      
      window_id = get_window_id()
      cmd=['xdotool','windowmove', window_id, str(x), str(y)]
      subprocess.Popen(cmd, stdout = subprocess.PIPE, stderr= subprocess.PIPE).communicate()
docs: Moves the active window to a given position given the window_id and absolute co ordinates,
      --sync option auto passed in, will wait until actually moved before giving  control back to us
  
      will do nothing if the window is maximized