how to create borders in excel by python

databicky
Contributor II

how to create borders in excel by python like the following format.

in the ex column if i entered the value as data means it should be center between those rows.​