Sujet : Re: Ouvrir un fichier *.py dans IDLE avec un clic droit
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : fr.comp.lang.pythonDate : 11. Sep 2024, 18:09:15
Autres entêtes
Organisation : Stefan Ram
Message-ID : <commande-20240911180855@ram.dialup.fu-berlin.de>
References : 1 2 3 4 5
ram@zedat.fu-berlin.de (Stefan Ram) a écrit ou cité :
Dans le cas de trois chemins, comme c'est le cas ici, il est possible
d'écrire à la place un propre fichier de commande (extension « .bat »
ou « .cmd »), puis de l'associer au type de fichier « .py ».
Un tel fichier de commande « idlefile.cmd » pourrait ressembler
à peu près à ceci :
START "IDLE" "C:\Users\name\AppData\Local\Programs\Python\Python312\pythonw.exe" "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\idlelib\idle.pyw" %1