A little prompt compenent implemented by Python