Freeze Panes in Jython

Aspose.Cells - Freeze Panes

To append documents using Aspose.Cells Java for Jython. Here you can see example code.

Jython Code

 from aspose-cells import Settings

from com.aspose.cells import Workbook

class FreezePanes:

    def __init__(self):

        dataDir = Settings.dataDir + 'WorkingWithWorksheets/FreezePanes/'

        workbook = Workbook(dataDir + "Book1.xls")

        #Accessing the first worksheet in the Excel file

        worksheets = workbook.getWorksheets()

        worksheet = worksheets.get(0)

        #Applying freeze panes settings


        #Saving the modified Excel file in default format + "book.out.xls")

        #Print Message

        print "Panes freeze successfull."

if __name__ == '__main__':        


Download Running Code

Download Append Documents (Aspose.Cells) from any of the below mentioned social coding sites: