Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 151 - 160 of about 274 for In (0.337 sec.)
21.4. wsgiref --- WSGI ユーティリティとリファレンス実装 — Python 3.6.5 ドキュメ... 4430
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ーティリティとリファレンス実装 ¶ Web Server Gateway Interface (WSGI) は、Web サーバソフトウェアと Python ... を返します。 wsgiref.util. request_uri ( environ , include_query=True ) ¶ リクエスト URI 全体 (オプション ... onstruction)" にあるアルゴリズムを使って返します。 include_query が false の場合、クエリ文字列は結果とな ... 。 wsgiref.util. application_uri ( environ ) ¶ PATH_INFO と QUERY_STRING 変数が無視されることを除けば req ...
https://man.plustar.jp/python/library/wsgiref.html - [similar]
7. 単純文 (simple statement) — Python 3.6.5 ドキュメント 4430
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... _stmt | yield_stmt | raise_stmt | break_stmt | continue_stmt | import_stmt | global_stmt | nonlocal_stmt ... get_list ] "]" | attributeref | subscription | slicing | "*" target ( attributeref , subscription , slic ... 縛されます。 名前がすでに束縛済みの場合、再束縛 (rebind) がおこなわれます。再束縛によって、以前その名前に ... 成するようなとき: class Cls : x = 3 # class variable inst = Cls () inst . x = inst . x + 1 # writes inst.x ...
https://man.plustar.jp/python/reference/simple_stmts.html - [similar]
1. コマンドラインと環境 — Python 3.6.5 ドキュメント 4430
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python のセットアッ ... 場合、 EOF (end-of-file 文字。 UNIX では Ctrl-D で、Windows では Ctrl-Z, Enter で入力可能) を受け取るまで、 ... されたモジュール名のモジュールを探し、その内容を __main__ モジュールとして実行します。 引数は module 名なの ... ッケージ名が与えられた場合、インタプリタは <pkg>.__main__ を main モジュールとして実行します。この挙動はス ... スクリプトとして実行する バージョン 3.1 で変更: __main__ サブモジュールを実行するパッケージ名が提供されま ...
https://man.plustar.jp/python/using/cmdline.html - [similar]
バッファプロトコル (buffer Protocol) — Python 3.6.5 ドキュメント 4401
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 対する読み出し専用アクセスのみを必要としますが、 readinto() のような他のメソッドでは、その引数の内容に対す ... です。 PyMemoryView_FromBuffer() または PyBuffer_FillInfo() によってラップされた 一時的な バッファである特 ... クエストは PyBUF_SIMPLE または PyBUF_WRITABLE です。 int readonly ¶ バッファが読み出し専用であるか示します ... ィールドは PyBUF_FORMAT フラグによって制御されます。 int ndim ¶ メモリがN次元配列を表している時の次元数。 ...
https://man.plustar.jp/python/c-api/buffer.html - [similar]
メモリ管理 — Python 3.6.5 ドキュメント 4401
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 実に行います。Python メモリマネージャには、共有 (sharing)、セグメント分割 (segmentation)、事前割り当て (pr ... eallocation)、キャッシュ化 (caching) といった、様々な動的記憶管理の側面を扱うために、 ... management of the Python heap is performed by the interpreter itself and that the user has no control o ... ver it, even if she regularly manipulates object pointers to memory blocks inside that heap. The allocat ...
https://man.plustar.jp/python/c-api/memory.html - [similar]
デザインと歴史 FAQ — Python 3.6.5 ドキュメント 4401
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... ずむずするでしょう。 多くのコーディングスタイルは begin/end の括弧にそれぞれ一行を使います。これではプログ ... 行の C よりもはるかに多くの作業ができます。これは begin/end の括弧がないからだけではありません -- 宣言が不 ... 01100110011001100110011001100110011001100110011 ( binary ) で、正確には次の値です: 1.1999999999999999555 ... を与えます。 詳しくは、Python チュートリアルの floating point arithmetic の章を参照してください。 なぜ Py ...
https://man.plustar.jp/python/faq/design.html - [similar]
29.7. abc --- 抽象基底クラス — Python 3.6.5 ドキュメント 4401
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 直接的にサブクラス化することができ、ミックスイン(mix-in)クラスのように振る舞います。また、無関係な具象クラ ... ple ) assert issubclass ( tuple , MyABC ) assert isinstance ((), MyABC ) バージョン 3.3 で変更: クラスデ ... を見てください: class Foo : def __getitem__ ( self , index ): ... def __len__ ( self ): ... def get_iterat ... , C ): if cls is MyIterable : if any ( "__iter__" in B . __dict__ for B in C . __mro__ ): return True r ...
https://man.plustar.jp/python/library/abc.html - [similar]
11.5. filecmp --- ファイルおよびディレクトリの比較 — Python 3.6.5 ドキュメント 4401
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... れた例です: >>> from filecmp import dircmp >>> def print_diff_files ( dcmp ): ... for name in dcmp . diff_ ... files : ... print ( "diff_file %s found in %s and %s " % ( name , d ... cmp . left , ... dcmp . right )) ... for sub_dcmp in dcmp . subdirs . values (): ... print_diff_files ( ... ) ... >>> dcmp = dircmp ( 'dir1' , 'dir2' ) >>> print_diff_files ( dcmp ) 関連キーワード: 比較 , ディレ ...
https://man.plustar.jp/python/library/filecmp.html - [similar]
16.5. getopt --- C 言語スタイルのコマンドラインオプションパーサ — Python 3.6.5 ... 4401
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ンを使っても同様です: >>> s = '--condition=foo --testing --output-file abc.def -x a1 a2' >>> args = s . sp ... lit () >>> args ['--condition=foo', '--testing', '--output-file', 'abc.def', '-x', 'a1', 'a2'] > ... , 'x' , [ ... 'condition=' , 'output-file=' , 'testing' ]) >>> optlist [('--condition', 'foo'), ('--test ... 方は以下のようになります: import getopt , sys def main (): try : opts , args = getopt . getopt ( sys . ar ...
https://man.plustar.jp/python/library/getopt.html - [similar]
8.8. weakref --- 弱参照 — Python 3.6.5 ドキュメント 4401
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... kKeyDictionary のように要素への弱参照を持ちます。 finalize は、オブジェクトのガベージコレクションの実行時 ... です。 ほとんどのプログラムでは弱参照コンテナまたは finalize のどれかを使えば必要なものは揃うはずです。通常 ... クトです。 バージョン 3.2 で変更: thread.lock, threading.Lock, code オブジェクトのサポートが追加されました ... = 3 ) # this object is weak referenceable tuple と int のような他の組み込み型はサブクラス化しても弱参照は ...
https://man.plustar.jp/python/library/weakref.html - [similar]