returnign python-indexed windows