python - updated comment formatting

also updated window mappings