How to Apply Border Style in Excel using Python. Openpyxl Tutorial #7

preview_player
Показать описание
In this video, I will show you how to apply different types of borders in Excel using the Openpyxl library.

--You can use any of the following values for the border style.
hair, dashed, medium, slantDashDot, thick, dotted, dashDotDo,
dashDot, double, mediumDashDot, mediumDashed, thin, mediumDashDotDot
Рекомендации по теме
Комментарии
Автор

First of all thanks this is really valuable, what extension you are using for auto completion?

emreigrek
Автор

Is there a way to do this for ranges, A1:N1 for example? I've been searching for almost an hour and couldn't find it. ws["A1:N1"] gives me an error.

elcinsayin
Автор

I thin I did exactly what you did, but receive the following error:

top = Side(border_syle="double", color="FF0000")
TypeError: __init__() got an unexpected keyword argument 'border_syle'

What could be the problem?

lucasschmitz
visit shbcf.ru