Based on the secondary development of ABAQUS, the buckling properties of variable angle composite laminates with periodic function curves were explored. Firstly, taking the sinusoidal curve as the basic reference path the change law of the fiber angle was obtained; Secondly, the finite element analysis pre-processing program of variable angle composite laminates was written by Python and developed ABAQUS interactive interface.Finally, the buckling analysis of the classical fixed angle and variable angle laminates was carried out with using the GUI plug-in. The results show that that the buckling load of the variable angle laminates is obviously improved, and the first order linearity buckling is first increased and then decreased with the increases of amplitude parameter A and period parameter T, so considering the stability of the ply, the parameters should be controlled in the corresponding range. The secondary development of ABAQUS by Python is used to realize the automatic modeling and computational analysis, which provides research ideas and processes for practical engineering research, and has certain practical significance.