mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 13:35:11 +03:00
9346a22c63
* assets and such * here goes * here goes again * once more * once more * type fixing * type fixing * type fixing * here goes * here goes * format
14 lines
351 B
Python
14 lines
351 B
Python
import os
|
|
|
|
for subdir, dirs, files in os.walk('.'):
|
|
for file in files:
|
|
with open(file, 'r') as header:
|
|
htxt = header.read()
|
|
|
|
name = str.upper(file[4:-2])
|
|
print(name)
|
|
htxt = htxt.replace("FIX.", name)
|
|
print(htxt)
|
|
with open(file, 'w') as header:
|
|
header.write(htxt)
|