PNG JPG BMP TIFF XLSX
Aspose.Cells  for Python via .NET

Insert Equation Shapes into Excel using Python via .Net

Insert Equation Shapes using Aspose.Cells’ API without any software like Microsoft or Open Office, Adobe PDF, etc.

How to Insert Equation Shapes into Excel File Using Python via .Net

In order to insert Equation Shapes into excel file, we’ll use

Aspose.Cells for Python via .Net

API which is a feature-rich, powerful and easy to use document manipulation API for Python via .Net platform.The API provides Excel file creation, manipulation, conversion and rendering. All without relying on Microsoft Office or Excel applications.You can install from the console using the following command.

Command


> pip install aspose-cells-python

Steps to insert Equation Shapes to Excel file using Python via .Net

You need the Aspose.Cells to try the following workflow in your own environment.

  • Instantiating a Workbook object.(or->Load the XLSX file with full path.)
  • Select Worksheet via its index.
  • Use the shapecollection’s add method to insert Equation Shapes in the selected worksheet.
  • Save workbook in XLSX format.

System Requirements

Aspose.Cells for Python via .Net is platform-independent API and can be used on any platform (Windows, Linux), just make sure that system have Python 3.7 or higher.

  • Any operating system that can run Python via .Net scripts, such as Windows, Linux
  • Install Aspose.Cells for Python via .Net from pypi, use command as: $ pip install aspose-cells-python.
The sample code below demonstrates how to insert a "math plus". For more types, please refer to "Overview of Equation Shape Types" below.
 

Insert Equation Shapes - Python via .Net

 

Overview of Equation Shape Types

AutoShapeType.MATH_PLUS

AutoShapeType.MATH_MINUS

AutoShapeType.MATH_MULTIPLY

AutoShapeType.MATH_DIVIDE

AutoShapeType.MATH_EQUAL

AutoShapeType.MATH_NOT_EQUAL

  • About Aspose.Cells for Python via .NET API

    Aspose.Cells API can be used to create, edit, convert and render Microsoft Excel formats to different formats. Moreover, it can be used for comprehensive charting, scalable reporting and reliable calculations within software applications. Aspose.Cells is a standalone API and it does not require any software like Microsoft or OpenOffice.