Useful, oft-repeated things for Python