The invention relates to the technical field of finite element modeling and numerical simulation, and discloses a Python-based converter valve anti-seismic analysis Abaqus parametric modeling method and a storage medium, and the method comprises the following steps: 1, determining the size, material and mechanical property parameters of a converter valve according to actual engineering, and determining a required anti-seismic analysis method; 2, corresponding modeling information is written in through a Python script program, and a basic structure of a finite element model is built; 3, running the Python script program in the step 2, and inputting the parameters determined in the step 1 into an interactive dialog box; and 4, reading the parameters input in the step 3 by Abaqus software, automatically generating a corresponding finite element model through a Python program, and carrying out response spectrum or seismic wave time history analysis as required. According to the method, rapid and automatic modeling can be carried out on converter valves with different parameter sizes, the modeling efficiency and accuracy are greatly improved, and anti-seismic analysis can be conveniently carried out on various converter valves.