Area under the curve represents the summation of a function over an interval, and is of interest in a variety of applications. Typically, the Trapezium rule is used for estimating the area under the curve. Such computations could be automated, and this contribution describes a Python software designed to calculate the area under the curve of y = x2. The function first reads in the lower and upper integration bounds as well as the number of intervals for integration. It subsequently calculates the integration step size to help implement the Trapezium rule for obtaining the area under the curve. Modularity in the software code ensures that the Python software can be readily adapted to calculate the area under the curve for other mathematical functions.