Quick python utilities