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

 


Dernière réponse
Sujet : [Python] lancer un executable à partir d'un script Python
Don Julio 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

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
Don Julio 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
Don Julio Bonjour,
 
savez vous comment lancer un exécutable windows par exemple à partir d'un script python?
 
merci d'avance.

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