Files
CLARA/SUPERCOPY.py
2025-10-24 12:35:48 +02:00

26 lines
564 B
Python

files = [
"core/app_launcher.py",
"core/discord_presence.py",
"core/file_search.py",
"core/headers.py",
"core/updater.py",
"core/web_search.py",
"main.py",
"README.md",
"requirements.txt"
]
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)