This application shows that how to design a P type controller in Python In this case, I have chosen a sample system that is Gs = 1/(s*(s+5)*(s+8)). You can use familiar steps and realize P type controller for your system I have mentioned steps as comment.