bonjour je voudrais pouvoir ex�cuter un fichier.
quel est la fonction � utiliser ?
bonjour je voudrais pouvoir ex�cuter un fichier.
quel est la fonction � utiliser ?
C'est dans le module os (voir la doc)
=> FAQ: http://python.developpez.com/faq/?pa...GenExecuteFilesystem( command)
Execute the command (a string) in a subshell. This is implemented by calling the Standard C function system(), and has the same limitations. Changes to posix.environ, sys.stdin, etc. are not reflected in the environment of the executed command.
Partager