Retourner au contenu associé (entrée de forum : Résultat d'un bash -> Interface python)
Posté par Nicolas Dumoulin (site web personnel) le 15 juin 2006 à 16:28. En réponse au message Résultat d'un bash -> Interface python. Évalué à 2.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# os.popen
Posté par Nicolas Dumoulin (site web personnel) . En réponse au message Résultat d'un bash -> Interface python. Évalué à 2.
f=os.popen(command);
data= f.read();
cequetuveux(data)
http://docs.python.org/lib/os-newstreams.html#os-newstreams