Python/外部プログラム実行
http://wiki.examind.net/index.php?Python/%E5%A4%96%E9%83%A8%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0%E5%AE%9F%E8%A1%8C
[
トップ
] [
編集
|
凍結
|
差分
|
バックアップ
|
添付
|
リロード
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
最新の20件
2023-10-26
Haskell
2023-10-17
ビッグデータ
2023-10-16
経営
2023-09-25
ITエンジニア/キャリア
2023-08-22
会議
2023-07-20
WBS
PERT
2023-07-19
プロジェクト管理
エンジニアリングマネジメント
2023-07-18
デザイン
Webアクセシビリティ
2023-07-13
macOS
2023-07-10
要件定義
2023-06-30
食品衛生
情報セキュリティ/ISMS
2023-06-28
シャドーIT
2023-06-15
Notion
1on1
ビジネス
2023-06-13
ドメイン駆動設計
Python関係のWiki
Python
Python/MySQL
Python/urllib
Python/オブジェクト指向
Python/外部プログラム実行
Python/コマンドライン
Python/コンテナ
Python/ネットワーク
Python/日付・時間
Python/ファイル
Python/メモリ
Python/文字列
unixコマンドの実行結果(標準出力)をそのまま受け取る => commands.getoutput() を使う
import commands myname = commands.getoutput('whoami')
Pythonで外部プログラムを動かす
Last-modified: 2017-04-09 (日) 20:47:02 (2574d)
Link:
Python
(799d)
Python/MySQL
(2574d)
Python/urllib
(2574d)
Python/文字列
(2574d)
Python/日付・時間
(2574d)
Python/ファイル
(2574d)
Python/メモリ
(2574d)
Python/オブジェクト指向
(2574d)
Python/コマンドライン
(2574d)
Python/コンテナ
(2574d)
Python/ネットワーク
(2574d)