Add SUPERCOPY

This commit is contained in:
N0\A
2025-10-22 10:54:12 +02:00
parent b184957232
commit 708873712f
3 changed files with 23 additions and 21 deletions

19
SUPERCOPY.py Normal file
View File

@@ -0,0 +1,19 @@
files = [
"core/file_search.py",
"ui/gui.py"
]
codeblock = "```"
copy = ""
for file in files:
with open(file, "r", encoding="utf-8") as f:
lines = f.readlines()
copy += f"### {file}\n\n"
copy += f"{codeblock}python\n"
copy += "".join(lines)
copy += f"\n{codeblock}\n\n"
with open("copy.md", "w", encoding="utf-8") as f:
f.write(copy)