Hello World in Python
Contents
[
Hide
]
Aspose.Cells - Hello World
Hello World using Aspose.Cells Java in Python, simply invoke the HelloWorld() method of Document class and specify the second document to append at end.
Python Code
workbook = self.Workbook()
sheet = workbook.getWorksheets().get(0)
cell = sheet.getCells().get("A1")
cell.setValue("Hello World!")
file_format_type = self.FileFormatType
workbook.save(self.dataDir + "HelloWorld.xls" , file_format_type.EXCEL_97_TO_2003 )
print "Document has been saved, please check the output file.";
Download Running Code
Download Hello World (Aspose.Cells) from any of the below mentioned social coding sites: