「python which」を含む例文一覧(109)

<前へ 1 2 3
  • So be careful!Note that any Python object references which are provided to the caller are borrowed references; do not decrement their reference count!Some example calls:
    慎重に! 呼び出し側に提供されるオブジェクトへの参照はすべて 借用参照 (borrowed reference) になります; これらのオブジェクトの参照カウントをデクリメントしてはなりません!以下にいくつかの呼び出し例を示します: - Python
  • Once a reference cycle has been created, the lifespan of all objects which can be accessed from the objects which form the cycle can become much longer even if Python's optional cycle detector is enabled.
    循環参照ができると、Pythonの循環参照検出機能を有効にしていたとしても関連するオブジェクトが参照しているすべてのオブジェクトが解放されにくくなり、明示的に参照を削除しないとメモリ消費量が増大する恐れがあります。 - Python
  • The modulator.pyscript included in the source distribution or Windows install provides a simple graphical user interface for declaring the functions and objects which a module should implement, and can generate a template which can be filled in.
    ソース配布物や Windows にインストールされた Python に入っているmodulator.py では、拡張モジュールで実装しなければならない関数やオブジェクトを宣言し、実装部分を埋めて作成するためのテンプレートを生成できるような、簡単なグラフィカルユーザインタフェースを提供しています。 - Python
  • If the script directory is not available (e.g. if the interpreter is invoked interactively or if the script is read from standard input), path[0] is the empty string, which directsPython to search modules in the current directory first.
    スクリプトのディレクトリがない(インタープリタで対話セッションで起動された時や、スクリプトを標準入力から読み込む場合など)場合、path[0]には空文字列となり、Pythonはカレントディレクトリからモジュールの検索を開始します。 - Python
  • When set to a value other than None, this variable defines the default value for the dir argument to all the functions defined in this module.If tempdir is unset or None at any call to any of the above functions, Python searches a standard list of directories and sets tempdir to the first one which the calling user can create files in.
    この値が None 以外に設定された場合、このモジュールで定義されている関数全てのdir 引数に対する標準の設定値となります。 tempdir が設定されていないか None の場合、上記のいずれかの関数を呼び出した際は常に、Python は標準的なディレクトリ候補のリストを検索し、関数を呼び出しているユーザの権限でファイルを作成できる最初のディレクトリ候補を tempdir に設定します。 - Python
  • Just like the standard Python list type has a C API which permits extension modules to create and manipulate lists, this new collection type should have a set of C functions for direct manipulation from other extension modules.At first sight this seems easy: just write the functions (withoutdeclaring them static, of course), provide an appropriate header file, and document the C API.
    ちょうどリストを生成したり操作したりできる C API を備えた標準のPython リスト型のように、この新たなコレクション型も他の拡張モジュールから直接操作できるようにするには一連の C 関数を持っていなければなりません。 一見するとこれは簡単なこと: 単に関数を (もちろんstatic などとは宣言せずに) 書いて、適切なヘッダファイルを提供し、C APIを書けばよいだけ、に思えます。 - Python
  • This section is a brief introduction to LaTeX concepts and syntax, to provide authors enough information to author documentsproductively without having to become ``TeXnicians.'' This does not teach everything needed to know about writing LaTeX for Python documentation; many of the standard ``environments'' are not described here (though you will learn how to mark something as anenvironment).Perhaps the most important concept to keep in mind while marking upPython documentation is that while TeX is unstructured, LaTeX was designed as a layer on top of TeX which specifically supportsstructured markup.
    この節を読んだからといって、LaTeX でドキュメントを書く上で必要な全ては学べません; LaTeX が提供している標準の ``環境 (environment)''については、ここでは説明しません。 おそらく、Python ドキュメントのマークアップにおいて心に留めておくべき最も重要な概念は、TeX が非体系的なのに対して、LaTeX は TeXの上のレイヤとして設計されていて、本質的には構造化マークアップをサポートしているということです。 - Python
  • returns a result with the sign ofy instead, and may not be exactly computable for float arguments.For example, fmod(-1e-100, 1e100) is -1e-100, but the result of Python's -1e-100 % 1e100 is 1e100-1e-100, which cannot be represented exactly as a float, and rounds to the surprising1e100.
    は、y と同じ符号の結果を返し、浮動小数点の引数に対して厳密な解を出せないことがあります。 例えば、 fmod(-1e-100, 1e100) は -1e-100 ですが、Python の-1e-100 % 1e100 は 1e100-1e-100 になり、浮動小数点型で厳密に表現できず、ややこしいことに1e100 に丸められます。 - Python
  • Code objects represent byte-compiled executable Python code, or bytecode.The difference between a code object and a function object is that the function object contains an explicit reference to the function's globals (the module in which it was defined), while a code object contains no context; also the default argument values are stored in the function object,not in the code object (because they represent values calculated atrun-time).
    コードオブジェクトは バイトコンパイルされた (byte-compiled)実行可能な Python コード、別名 バイトコード (bytecode) を表現します。 コードオブジェクトと関数オブジェクトの違いは、関数オブジェクトが関数のグローバル変数 (関数を定義しているモジュールのグローバル) に対して明示的な参照を持っているのに対し、コードオブジェクトにはコンテキストがないということです; また、関数オブジェクトではデフォルト引数値を記憶できますが、コードオブジェクトではできません(実行時に計算される値を表現するため)。 - Python
<前へ 1 2 3

例文データの著作権について