mirror of
https://github.com/sonicdcer/sf64.git
synced 2024-11-23 21:09:56 +00: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)
|