make showdpids printout can be pasted into a python program