Frage

Is there a good way to write a 2-D array to a table in DataNitro? I'm working on a basic sudoku solver in Excel and would rather use python than VisualBasic.

War es hilfreich?

Lösung

Yes, you can use the table cell property - we just added this in our last update.

For example:

x = [[6, 7, '', 2, 3, '', '', '', ''], ... ['', '', '', '', 6, 8, '', 3, 2]] 
# the sudoku puzzle, written out row boy row
Cell("A1").table = x

Source: I'm one of the DataNitro developers.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top