nicer display in python script