Pretty customizable borders around your print statements for the sake of emphasis
pip install glitzer
from glitzer import glitz
glitz('Hello world!')
- Configure border type
- The default glitz border type is
'.'
. You can change this to any string of your choice.
glitz('Hello world!', border='*')
- Configure padding
- The padding is the number of spaces before and after the printed text. You can easily customize this by specifying a
padding
keyword argument ininteger
glitz('Hello world', padding=5)
- Configure number of borders
- You can also configure the number of borders around your given text in
integer
.
glitz('Hello world', num_borders=2)
Take this for a spin and let me know what you think.