Files
CLARA/SUPERCOPY.py
N0\A 3b6b40fa88 1
2025-10-24 14:22:12 +02:00

27 lines
585 B
Python

files = [
"core/app_launcher.py",
"core/discord_presence.py",
"core/dukto.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)