Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.lang.python > #4217

Re: Ouvrir un fichier *.py dans IDLE avec un clic droit

Date 2024-09-11 18:15 +0200
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>
From ast <none@none.fr>
Message-ID <66e1c226$0$1295$426a34cc@news.free.fr> (permalink)
Organization Guest of ProXad - France

Show all headers | View raw


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"

Back to fr.comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Ouvrir un fichier *.py dans IDLE avec un clic droit ast <none@none.fr> - 2024-09-11 15:30 +0200
  Re: Ouvrir un fichier *.py dans IDLE avec un clic droit ast <none@none.fr> - 2024-09-11 18:08 +0200
    Re: Ouvrir un fichier *.py dans IDLE avec un clic droit ast <none@none.fr> - 2024-09-11 18:15 +0200
  Re: Ouvrir un fichier *.py dans IDLE avec un clic droit Gosseyn <alan@gosseyn.net> - 2024-09-16 13:49 +0200

csiph-web