This study presents a Python-based design tool that utilizes a data-driven backtracking method for aspheric coefficients to effectively address thermal deformation in aspheric glass lenses produced by the Glass Molding Press (GMP) process. To achieve the nanometer-level form accuracy essential for optical communications and high-power laser applications, it is crucial to compute compensation coefficients through nonlinear least-squares fitting of the lens's measured data to the standard aspheric equation. The proposed tool enhances user-friendliness with a PyQt GUI and incorporates the lmfit library, offering unique flexibility by allowing users to select or fix specific variables among up to 22 parameters, including the radius of curvature, conic constant, and aspheric coefficient, during the fitting process.