Results of 1 - 2 of about 2 for deploy (0.007 sec.)
- What's New In Python 3.2 — Python 3.14.8 ドキュメント 11228
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.2 テーマ 自動 ライト ダーク | What's New In Python 3.2 ¶ 著者 : Raymond Hettinger This article explains the new fea
...g = 'Tested on Solaris and Linux' ) # displayed after help parser . add_argument ( 'action' , # argument name choices = [ 'deploy' , 'start' , 'stop' ], # three allowed values help = 'action on each target' ) # help msg parser . add_argument ( 'targets...ue , # make it a required argument help = 'login as user' ) コマンド文字列とともにこのパーサを呼び出してみます: >>> cmd = 'deploy sneezy.example.com sleepy.example.com -u skycaptain' >>> result = parser . parse_args ( cmd . split ()) >>> result . actio...n 'deploy' >>> result . targets ['sneezy.example.com', 'sleepy.example.com'] >>> result . user 'skycaptain' このパーサが自動的に作り... - https://man.mtool.work/python/3.14/whatsnew/3.2.html
- What's New In Python 3.2 — Python 3.14.8 ドキュメント 7485
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.2 テーマ 自動 ライト ダーク | What's New In Python 3.2 ¶ 著者 : Raymond Hettinger This article explains the new fea
...g = 'Tested on Solaris and Linux' ) # displayed after help parser . add_argument ( 'action' , # argument name choices = [ 'deploy' , 'start' , 'stop' ], # three allowed values help = 'action on each target' ) # help msg parser . add_argument ( 'targets...ue , # make it a required argument help = 'login as user' ) コマンド文字列とともにこのパーサを呼び出してみます: >>> cmd = 'deploy sneezy.example.com sleepy.example.com -u skycaptain' >>> result = parser . parse_args ( cmd . split ()) >>> result . actio...n 'deploy' >>> result . targets ['sneezy.example.com', 'sleepy.example.com'] >>> result . user 'skycaptain' このパーサが自動的に作り... - https://man.mtool.work/python/3.14/whatsnew/3.2.html
PREV
1
NEXT