==============================hello, world==============================

string = "{:{fill}{align}{width}}"
print(string.format(' hello, world ', fill='=', align='^', width=50))================== hello, world ==================import os
columns,lines = os.get_terminal_size()
string = "{:{fill}{align}{width}}"
print(string.format(' hello, world ', fill='=', align='^', width=columns))