| # Ouvre ton fichier ASCII | |
| with open("phoenix_ascii.txt", "r", encoding="utf-8") as f: | |
| ascii_art = f.read() | |
| # Remplace tous les @ par des espaces | |
| ascii_art = ascii_art.replace("@", " ") | |
| # Sauvegarde le résultat | |
| with open("output.txt", "w", encoding="utf-8") as f: | |
| f.write(ascii_art) | |
| print("Remplacement terminé !") | |