Bonjour et très bonne année à tous,
Je me retrouve devant un problème à cause de l'encodage utf-8.
J'ai besoin de désinstallé un raccourci sur le bureau. Jusque là, c'est facile. Mais le nom de ce raccourci contient un accent grave (è) :
# -*- coding: utf-8 -*- from setuphelpers import * uninstallkey = []
rac_lapin="C:\Users\Public\Desktop\Narramus - Compère Lapin.lnk"
def install(): if isfile(rac_lapin): remove_desktop_shortcut('Narramus - Compère Lapin' Merci beaucoup pour votre aide
[Image:POMMIER-Ludovic_INFORMATIQUE.png]