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