Retourner au contenu associé (entrée de forum : Lancer une commande shell sous python?)
Posté par Sebastien le 02 avril 2005 à 01:10. En réponse au message Lancer une commande shell sous python?. Évalué à 2.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: re
Posté par Sebastien . En réponse au message Lancer une commande shell sous python?. Évalué à 2.
import commands
status,output = commands.getstatusoutput(cmd)