Deutsch English Français Italiano |
<66e1c226$0$1295$426a34cc@news.free.fr> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp2-1.free.fr!not-for-mail Date: Wed, 11 Sep 2024 18:15:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Ouvrir un fichier *.py dans IDLE avec un clic droit Newsgroups: fr.comp.lang.python References: <66e19b8b$0$22664$426a34cc@news.free.fr> <Ouvrir-20240911160427@ram.dialup.fu-berlin.de> <66e1c08a$0$1295$426a34cc@news.free.fr> Content-Language: fr From: ast <none@none.fr> In-Reply-To: <66e1c08a$0$1295$426a34cc@news.free.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Lines: 38 Message-ID: <66e1c226$0$1295$426a34cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 11 Sep 2024 18:15:34 CEST NNTP-Posting-Host: 91.170.32.5 X-Trace: 1726071334 news-4.free.fr 1295 91.170.32.5:8325 X-Complaints-To: abuse@proxad.net Bytes: 2327 Le 11/09/2024 à 18:08, ast a écrit : > Le 11/09/2024 à 17:05, Stefan Ram a écrit : >> ast <none@none.fr> a écrit ou cité : >>> Bonjour >>> J'utilise Windows 11 >>> Si je double click sur un ficher *.py cela exécute le programme. >>> Je voudrais pouvoir faire un click droit sur le fichier et choisir >>> "ouvrir avec" puis choisir l'éditeur de IDLE. >>> Est-ce possible ? >> >> Bonjour, >> >> Sur Windows 11, l'option « Ouvrir avec » est planquée dans >> le nouveau menu contextuel simplifié. Pour y accéder : Fais >> un clic droit sur le fichier, clique sur « Afficher plus >> d'options » en bas du menu, et tu verras le menu contextuel >> classique complet, y compris « Ouvrir avec ». >> >> > > > Il y a un malentendu. > > Ce n'est pas le "ouvrir avec" que je cherche. > Je veux mettre IDLE comme possibilité pour "ouvrir avec". > > idle est un programme python idle.pyw qui est lancé avec pythonw.exe La commande pour ouvrir un fichier toto.py avec Idle est: C:\Users\name\AppData\Local\Programs\Python\Python312\pythonw.exe "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\idlelib\idle.pyw" toto.py mais si j'essaye de rentrer ça dans le "ouvrir avec" j'ai "le nom de fichier n'est pas valide"