Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 81 - 90 of about 234 for IF (0.145 sec.)
5. データ構造 — Python 3.6.5 ドキュメント 5109
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 記は、括弧の中の 式、 for 句、そして0個以上の for か if 句で構成されます。リスト内包表記の実行結果は、 for ...if 句のコンテキスト中で式を評価した結果からなる新しい ... y ) for x in [ 1 , 2 , 3 ] for y in [ 3 , 1 , 4 ] if x != y ] [(1, 3), (1, 4), (2, 3), (2, 1), (2, 4), ... in [ 1 , 2 , 3 ]: ... for y in [ 3 , 1 , 4 ]: ... if x != y : ... combs . append (( x , y )) ... >>> co ...
https://man.plustar.jp/python/tutorial/datastructures.html - [similar]
16.6. logging --- Python 用ロギング機能 — Python 3.6.5 ドキュメント 5068
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ル名だからです。 class logging. Logger ¶ propagate ¶ If this attribute evaluates to true, events logged to ... 巻き戻されたスタックフレームの情報です。 You can specify stack_info independently of exc_info , e.g. to ju ... されるべきです。 addFilter ( filter ) ¶ Adds the specified filter filter to this logger. removeFilter ( fi ... lter ) ¶ Removes the specified filter filter from this logger. filter ( record ...
https://man.plustar.jp/python/library/logging.html - [similar]
27.5. timeit --- 小さなコード断片の実行時間計測 — Python 3.6.5 ドキュメント 5068
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... is at least 0.2 second, or the maximum is reached. If callback is given and is not None , it will be cal ... best of 3: 15.7 usec per loop $ python -m timeit 'if hasattr(str, "__bool__"): pass' 100000 loops, best ... best of 3: 1.43 usec per loop $ python -m timeit 'if hasattr(int, "__bool__"): pass' 100000 loops, best ... s , number = 100000 ) 0.9138244460009446 >>> s = "if hasattr(str, '__bool__'): pass" >>> timeit . timei ...
https://man.plustar.jp/python/library/timeit.html - [similar]
21.6. urllib.request --- URL を開くための拡張可能なライブラリ — Python 3.6.5 ド... 5068
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ェクトでもかまいません。 data must be an object specifying additional data to be sent to the server, or N ... one if no such data is needed. See Request for details. u ... なりません。より詳しい情報は ssl.SSLContext.load_verify_locations() を参照してください。 cadefault 引数は ... fault_context() select the system's trusted CA certificates for you. urllib.request. install_opener ( op ...
https://man.plustar.jp/python/library/urllib.request.html - [similar]
デザインと歴史 FAQ — Python 3.6.5 ドキュメント 5027
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... 、C のプログラマはこのようなコード片に出くわします: if ( x <= y ) x ++ ; y -- ; z ++ ; この条件文が真の時 ... てはなりません: while True : line = f . readline () if not line : break ... # do something with line Pyth ... 起こる、他の言語ではありがちで見つけづらいバグです: if ( x = 0 ) { // error handling } else { // code tha ... 意味をなします。そうでなければ、このように書きます: if key in mydict : value = mydict [ key ] else : valu ...
https://man.plustar.jp/python/faq/design.html - [similar]
17.4. concurrent.futures -- 並列タスク実行 — Python 3.6.5 ドキュメント 5027
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... iterator raises a concurrent.futures.TimeoutError if __next__() is called and the result isn't availabl ... Executor.map() . timeout can be an int or a float. If timeout is not specified or None , there is no lim ... it to the wait time. If a func call raises an exception, then that excepti ... The (approximate) size of these chunks can be specified by setting chunksize to a positive integer. For ...
https://man.plustar.jp/python/library/concurrent.futures.html - [similar]
Download — Python 3.6.5 ドキュメント 4987
ナビゲーション 索引 モジュール | Python » 3.6.5 ドキュメント » Download Python 3.6.5 Documentati ... zip program can be used to handle the ZIP archives if desired. The .tar.bz2 archives provide the best co ... ed on Unix using the InfoZIP zip program. Problems If you have comments or suggestions for the Python do ...
https://man.plustar.jp/python/download.html - [similar]
20.2. html.parser--- HTML および XHTML のシンプルなパーサー — Python 3.6.5 ドキ... 4987
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ondcoms) はこのメソッドに送ることができます。 <!--[if IE 9]>IE9-specific content<![endif]--> の場合、この ... メソッドは '[if IE 9]>IE9-specific content<![endif]' を受け取ります ... ed ent:" , c ) def handle_charref ( self , name ): if name . startswith ( 'x' ): c = chr ( int ( name [ ... >>> parser . feed ( '<!-- a comment -->' ... '<!--[if IE 9]>IE-specific content<![endif]-->' ) Comment : ...
https://man.plustar.jp/python/library/html.parser.html - [similar]
18.1. socket --- 低水準ネットワークインターフェイス — Python 3.6.5 ドキュメント 4987
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... v1 はサーバータイプ、 v2 はポートID (the port identifier)、そして v3 は 0 であるべきです。 addr_type が ... with IPv6, therefore, you may want to avoid these if you intend to support IPv6 with your Python progra ... できる環境 : Unix 。 バージョン 3.3 で追加. socket. if_nameindex ( ) ¶ ネットワークインターフェイス情報 ( ... できる環境 : Unix 。 バージョン 3.3 で追加. socket. if_nametoindex ( if_name ) ¶ インターフェイス名 if_na ...
https://man.plustar.jp/python/library/socket.html - [similar]
What's New in Python 2.5 — Python 3.6.5 ドキュメント 4987
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... 下と同じ効果を持つ単一行代入式を書くことが出来ます: if condition : x = true_value else : x = false_value ... せんでした。候補には C の cond ? true_v : false_v や if cond then true_v else false_v を含む、ほか 16 のバ ... は結果として意外な構文を選択しました: x = true_value if condition else false_value 評価はこれでも既存の Bo ... ばかり明快さを増します: contents = (( doc + ' \n ' ) if doc else '' ) 私には上記ステートメントはこう読めま ...
https://man.plustar.jp/python/whatsnew/2.5.html - [similar]