Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1751 connectés 

  FORUM HardWare.fr
  Programmation

  [Python] lancer un executable à partir d'un script Python

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Python] lancer un executable à partir d'un script Python

n°107873
Don Julio
Posté le 05-03-2002 à 16:01:58  profilanswer
 

Bonjour,
 
savez vous comment lancer un exécutable windows par exemple à partir d'un script python?
 
merci d'avance.

mood
Publicité
Posté le 05-03-2002 à 16:01:58  profilanswer
 

n°107883
Don Julio
Posté le 05-03-2002 à 16:13:28  profilanswer
 

je pense avoir trouvé la réponse à ma question.
 
 
 
Dial-Up w/ Python on Win32:  
Alex Martelli aleaxit@yahoo.com  
Wed, 1 Aug 2001 13:21:20 +0200  
 
Previous message: Dial-Up w/ Python on Win32:  
Next message: how to know whether the item in a diretory is a file/directory  
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]  
 
--------------------------------------------------------------------------------
 
"Xione Wrent" <xione@bellsouth.net> wrote in message
news:85H97.2823$kg.194231@e3500-atl2.usenetserver.com...
> Is there any way to launch a .DUN file (Dial-Up Networking) on a Windows
box
> using Python?
 
If you install the win32all extensions (or ActivePython that
comes with them), win32api.ShellExecute should work (if your
associations to extension .DUN are set up correctly, i.e.,
if
    start foo.dun
works as you desire from a command-prompt).
 
 
Alex


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation

  [Python] lancer un executable à partir d'un script Python

 

Sujets relatifs
[script] un petit peu de shell unix[JavaScript] Peut-on lancer l'exécution d'un .EXE sur le disque ??
[Perl / CGI] passer un array d'un script a un autre ?[Delphi] recuperer et sauvegarder une image a partir d'une url
[ PHP ] Des connaisseurs pour améliorer mon premier script ;-)Executable C++
[PHP/SQL] Mise en place d'Archive. Prob con avec scriptLancer un batch en tache de fond sous Windows
[PHP] Probleme avec un scriptScript bannières tournantes
Plus de sujets relatifs à : [Python] lancer un executable à partir d'un script Python


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR