Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 28 for elif (0.003 sec.)
9.1. numbers --- 数の抽象基底クラス — Python 3.6.5 ドキュメント 15599
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... gral ): return do_my_adding_stuff ( self , other ) elif isinstance ( other , OtherTypeIKnowAbout ): return ... gral ): return do_my_adding_stuff ( other , self ) elif isinstance ( other , OtherTypeIKnowAbout ): return ... do_my_other_adding_stuff ( other , self ) elif isinstance ( other , Integral ): return int ( othe ... r ) + int ( self ) elif isinstance ( other , Real ): return float ( other ...
https://man.plustar.jp/python/library/numbers.html - [similar]
Argparse チュートリアル — Python 3.6.5 ドキュメント 11044
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argp ... } equals {} " . format ( args . square , answer )) elif args . verbosity == 1 : print ( " {} ^2 == {} " . ... } equals {} " . format ( args . square , answer )) elif args . verbosity == 1 : print ( " {} ^2 == {} " . ... } equals {} " . format ( args . square , answer )) elif args . verbosity == 1 : print ( " {} ^2 == {} " . ... } equals {} " . format ( args . square , answer )) elif args . verbosity >= 1 : print ( " {} ^2 == {} " . ...
https://man.plustar.jp/python/howto/argparse.html - [similar]
4. その他の制御フローツール — Python 3.6.5 ドキュメント 9815
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... x = 0 ... print ( 'Negative changed to zero' ) ... elif x == 0 : ... print ( 'Zero' ) ... elif x == 1 : .. ... else : ... print ( 'More' ) ... More ゼロ個以上の elif 部を使うことができ、 else 部を付けることもできます ... 。キーワード ' elif ' は 'else if' を短くしたもので、過剰なインデントを ... 避けるのに役立ちます。一連の if ... elif ... elif ... は、他の言語における switch 文や case ...
https://man.plustar.jp/python/tutorial/controlflow.html - [similar]
16.5. getopt --- C 言語スタイルのコマンドラインオプションパーサ — Python 3.6.5 ... 8930
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... for o , a in opts : if o == "-v" : verbose = True elif o in ( "-h" , "--help" ): usage () sys . exit () e ...
https://man.plustar.jp/python/library/getopt.html - [similar]
19.1.8. email: 使用例 — Python 3.6.5 ドキュメント 8586
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... t () . splitlines (): print ( line ) sys . exit () elif richest [ 'content-type' ] . subtype == 'html' : b ... at ( richest . get_content_type ())) sys . exit () elif richest [ 'content-type' ] . content_type == 'mult ...
https://man.plustar.jp/python/library/email.examples.html - [similar]
Python で Curses プログラミング — Python 3.6.5 ドキュメント 8225
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... r . getch () if c == ord ( 'p' ): PrintDocument () elif c == ord ( 'q' ): break # Exit the while loop elif ...
https://man.plustar.jp/python/howto/curses.html - [similar]
10. 完全な文法仕様 — Python 3.6.5 ドキュメント 8045
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... stmt | for_stmt ) if_stmt : 'if' test ':' suite ( 'elif' test ':' suite ) * [ 'else' ':' suite ] while_stm ...
https://man.plustar.jp/python/reference/grammar.html - [similar]
デザインと歴史 FAQ — Python 3.6.5 ドキュメント 7881
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... に switch や case 文がないのはなぜですか? ¶ if... elif... elif... else の繰り返しで簡単に同じことができま ...
https://man.plustar.jp/python/faq/design.html - [similar]
18.7. asynchat --- 非同期ソケットコマンド/レスポンスハンドラ — Python 3.6.5 ド... 7881
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... . set_terminator ( None ) self . handle_request () elif not self . handling : self . set_terminator ( None ...
https://man.plustar.jp/python/library/asynchat.html - [similar]
6.3. difflib --- 差分の計算を助ける — Python 3.6.5 ドキュメント 7881
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... , fromfile , tofile , fromdate , todate , n = n ) elif options . n : diff = difflib . ndiff ( fromlines , ... tolines ) elif options . m : diff = difflib . HtmlDiff () . make_ ...
https://man.plustar.jp/python/library/difflib.html - [similar]
PREV 1 2 3 NEXT