11 lines
282 B
Python
Executable file
11 lines
282 B
Python
Executable file
#!/usr/bin/python3
|
|
|
|
import sys
|
|
|
|
for path in sys.argv[1:]:
|
|
print('# -----------------------------------')
|
|
print('# ' + path + ':')
|
|
print('# -----------------------------------')
|
|
with open(path, 'r') as f:
|
|
for line in f:
|
|
print('# ' + line, end='')
|