Files
scikit-image/tools/header.py
T
Stefan van der Walt 1a0228727e Rename heading -> header
2014-05-05 16:34:31 +02:00

15 lines
261 B
Python
Executable File

#!/usr/bin/env python
from __future__ import print_function
import sys
screen_width = 50
print('*' * screen_width)
if len(sys.argv) > 1:
header = ' '.join(sys.argv[1:])
print('*', header.center(screen_width - 4), '*')
print('*' * screen_width)