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

Insert Star/Banner into Excel using Python via Java

Insert Star/Banner using Aspose.Cells’ API without any software like Microsoft or Open Office, Adobe PDF, etc.

How to Insert Star/Banner into Excel File Using Python via Java

In order to insert Star/Banner into excel file, we’ll use

Aspose.Cells for Python via Java

API which is a feature-rich, powerful and easy to use document manipulation API for Python via Java 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

Steps to insert Star/Banner to Excel file using Python via Java

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 add method to insert Star/Banner in the selected worksheet
  • Save workbook in XLSX format.

System Requirements

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

  • Any operating system that can run Python via Java scripts, such as Windows, Linux and MacOS
  • Install Java and add it to PATH environment variable, for example: PATH=C:\Program Files\Java\jdk1.8.0_131;.
  • Install Aspose.Cells for Python via Java from pypi, use command as: $ pip install aspose-cells.
The sample code below demonstrates how to insert a "math plus". For more types, please refer to "Overview of Star And Banner Types" below.
 

Insert Star/Banner - Python via Java

 

Overview of Star And Banner Types

AutoShapeType.EXPLOSION_1

AutoShapeType.EXPLOSION_2

AutoShapeType.STAR_4

AutoShapeType.STAR_5

AutoShapeType.STAR_6

AutoShapeType.STAR_7

AutoShapeType.STAR_8

AutoShapeType.STAR_10

AutoShapeType.STAR_12

AutoShapeType.STAR_16

AutoShapeType.STAR_24

AutoShapeType.STAR_32

AutoShapeType.UP_RIBBON

AutoShapeType.DOWN_RIBBON

AutoShapeType.CURVED_UP_RIBBON

AutoShapeType.CURVED_DOWN_RIBBON

AutoShapeType.VERTICAL_SCROLL

AutoShapeType.HORIZONTAL_SCROLL

AutoShapeType.WAVE

AutoShapeType.DOUBLE_WAVE

  • About Aspose.Cells for Python via Java 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.