Files
FearFactory/devtools/FormatRules.py
2025-05-18 13:44:17 -05:00

17 lines
251 B
Python

import pyperclip
x = ""
with open("MobDimSpawningRulesInput.txt", "r") as file:
x+=file.read()
y=""
for i in x.split('\n')[:-1]:
y += str(i.split(",").__str__())+",\n"
y=y[:-2]
print(y)
print("data copied to clipboard")
pyperclip.copy(y)