Python night improvements