Deutsch English Français Italiano |
<chemins-20240911180415@ram.dialup.fu-berlin.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!fu-berlin.de!uni-berlin.de!not-for-mail From: ram@zedat.fu-berlin.de (Stefan Ram) Newsgroups: fr.comp.lang.python Subject: Re: Ouvrir un fichier *.py dans IDLE avec un clic droit Date: 11 Sep 2024 17:04:36 GMT Organization: Stefan Ram Lines: 21 Expires: 1 Jul 2025 11:59:58 GMT Message-ID: <chemins-20240911180415@ram.dialup.fu-berlin.de> References: <66e19b8b$0$22664$426a34cc@news.free.fr> <Ouvrir-20240911160427@ram.dialup.fu-berlin.de> <66e1c08a$0$1295$426a34cc@news.free.fr> <66e1c226$0$1295$426a34cc@news.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de ZvL++KFW8HmYexJx8/390gNFQowroUI4buQ82ssNIvAsUU Cancel-Lock: sha1:mjfPOt4IQu0ks41o/G4cPn4fBO0= sha256:UJ3RFxlXBLp5CAnHCJ+rSgLS+Uzv3Edz48u04GehQR0= X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved. Distribution through any means other than regular usenet channels is forbidden. It is forbidden to publish this article in the Web, to change URIs of this article into links, and to transfer the body without this notice, but quotations of parts in other Usenet posts are allowed. X-No-Archive: Yes Archive: no X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some services to mirror the article in the web. But the article may be kept on a Usenet archive server with only NNTP access. X-No-Html: yes Content-Language: fr-FR Bytes: 2424 ast <none@none.fr> a écrit ou cité : >C:\Users\name\AppData\Local\Programs\Python\Python312\pythonw.exe >"C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\idlelib\idle.pyw" >toto.py Il ne devrait pas être possible de spécifier plus de deux chemins (un chemin pour le programme et un chemin pour le fichier) lors de l'association de types de fichiers sous Windows. 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 ». (A moins que Windows ne considère que « .pyw » est déjà exécutable sans que « pythonw » soit nécessaire.) L'avantage de ce fichier de commande est qu'il permet de faire d'autres choses utiles, comme par exemple créer une copie de sauvegarde du fichier .py ou consigner le processus.