A python program is developed for analysis and design of planar four-bar linkages. The program contains one main class for design and analysis of common use. It allows users to make the analysis of position, velocity, acceleration for any four-bar linkages, and show an animation to simulate the motion of planar mechanism. It offers a reference to the beginner for teaching and learning mechanism design and analysis. This program also allows user make changes and improvement on default code for application.