list open windows

is there a menu option or a python incantation to see what windows I have open? Thanks!