| 例文 |
python objectの部分一致の例文一覧と使い方
該当件数 : 134件
The pickle module implements a fundamental, but powerfulalgorithm for serializing and de-serializing a Python object structure.例文帳に追加
pickle モジュールでは、Python オブジェクトデータ構造を直列化 (serialize) したり非直列化 (de-serialize) するための基礎的ですが強力なアルゴリズムを実装しています。 - Python
The specific numeric values which the names map to may change between Python versions. This module also provides one additional data object:例文帳に追加
名前がマップする特定の数値はPythonのバージョン間で変わります。 このモジュールには、データオブジェクトも一つ付け加えられています: - Python
When dump is given it should refer to a file object, and processfile will stop after decoding the resources and dump the Python representation of the terminology resources to this file. verbose should also be a file object, and specifying it will cause processfile to tell you what it is doing.例文帳に追加
dump にはファイルオブジェクトを与えます、これを指定するとリソースを読取った後に停止して processfile がコード化した用語リソースの Python 表現をダンプします。 - Python
(Python is built with Microsoft Visual C++, which uses COFF as the object file format.)For this reason you have to convert Python's librarypython24.lib into the Borland format.例文帳に追加
Microsoft Visual C++ は COFF をオブジェクトファイル形式に使います。 )このため、以下のようにして、 Python のライブラリ python24.lib を Borland の形式に変換する必要があります: - Python
This subsection describes the necessary steps to use Distutils with the Borland C++ compiler version 5.5.First you have to know that Borland's object file format (OMF) is different from the format used by the Python version you can download from the Python or ActiveState Web site.例文帳に追加
この小節では、 Borland C++ コンパイラのバージョン 5.5 でDistutils を使うために必要な手順について述べています。 まず、 Borland のオブジェクトファイル形式 (OMF)は、Python 公式サイトや ActiveState の Web サイトからダウンロードできるバージョンの Python が使っている形式とは違うことを知っておかねばなりません (Python は通常、 Microsoft Visual C++ でビルドされています。 - Python
Normally, multiple threads in the Python interpreter can't get in each other's way, because there is a globallock protecting Python's entire object space.例文帳に追加
通常は、 Python インタプリタにおける複数のスレッドは、グローバルインタプリタロックがオブジェクト空間全体を保護しているため、互いに邪魔し合うことはありません。 - Python
The functions in this chapter interact with Python objects regardless of their type, or with wide classes of object types (e.g. all numerical types, or all sequence types).例文帳に追加
この章で説明する関数は、Python オブジェクトとのやりとりを型や(数値型全て、シーケンス型全てといった) 大まかなオブジェクト型の種類に関係なく行います。 - Python
If at all possible, this should look like a valid Python expression that could be used to recreate an object with the same value (given an appropriate environment).例文帳に追加
可能な場合には、この値は同じ値を持ったオブジェクトを(適切な環境で) 再生成するために使えるような有効な Python 式に似せるべきです。 - Python
This module defines names for some object types that are used by the standard Python interpreter, but not for the types defined by variousextension modules.例文帳に追加
このモジュールは標準のPythonインタプリタで使われているオブジェクトの型について、名前を定義しています(拡張モジュールで定義されている型を除く)。 - Python
Depending on your needs, you can either create a new interpreter state data structure, or share the interpreter statedata structure used by the Python main thread (to access the latter,you must obtain the thread state and access its interp member;this must be done by a thread that is created by Python or by the main thread after Python is initialized).Assuming you have access to an interpreter object, the typical idiom for calling into Python from a C thread is例文帳に追加
必要に応じて、新たなインタプリタ状態データ構造体を作成するなり、Python メインスレッドが使っているインタプリタ状態データ構造体を共有するなりできます (後者のデータにアクセスするためには、スレッド状態データ構造体を獲得して、その interp メンバにアクセスしなければなりません; この処理は、Python が作成したスレッドから行うか、Python を初期化した後で主スレッドから行わねばなりません)。 - Python
Surrogate pairs may be present in the Unicode object, and will be reported as two separate items.例文帳に追加
Unicode オブジェクト内にサロゲートペア (surrogate pair) があってもよく、Python はサロゲートペアを二つの別々の Unicode 要素として報告します。 - Python
The first parameter, callable, can beany Python callable object that can be called with no parameters;each call to it should return the next item in the iteration. 例文帳に追加
最初のパラメタ callable は引数なしで呼び出せる Python の呼び出し可能オブジェクトならなんでもかまいません; callableは、呼び出されるたびに次の反復処理対象オブジェクトを返さなければなりません。 - Python
If applicable the module will define a number of Python objects for the various structures declared by the toolbox, and operations will be implemented as methods of the object.例文帳に追加
対応するモジュールがあるなら、そのモジュールではツールボックスで宣言された各種の構造体のPythonオブジェクトが定義され、操作は定義されたオブジェクトのメソッドとして実装されています。 - Python
Caveat: On machines where C's long int type has more than32 bits (such as the DEC Alpha), it is possible to create plain Python integers that are longer than 32 bits.If such an integer is marshaled and read back in on a machine whereC's long int type has only 32 bits, a Python long integer object is returned instead.例文帳に追加
補足説明: C 言語の long int が (DEC Alpha のように) 32 ビットよりも長いビット長を持つ場合、32 ビットよりも長い Python 整数を作成することが可能です。 そのような整数が整列化された後、C 言語の long int のビット長が 32 ビットしかないマシン上で読み戻された場合、通常整数の代わりにPython 長整数が返されます。 - Python
The design of this module is loosely based on Java's threading model.However, where Java makes locks and condition variables basic behavior of every object, they are separate objects in Python.例文帳に追加
このモジュールのおおまかな設計は Java のスレッドモデルに基づいています。 とはいえ、Java がロックと条件変数を全てのオブジェクトの基本的な挙動にしているのに対し、 Python ではこれらを別個のオブジェクトに分けています。 - Python
This function should only be invoked when a condition is detected that would make it dangerous to continue using the Python interpreter; e.g., when the object administration appears to be corrupted.例文帳に追加
この関数は、Python インタプリタを使い続けるのが危険であるような状況が検出されたとき; 例えば、オブジェクト管理が崩壊していると思われるときにのみ、呼び出されるようにしなければなりません。 - Python
At this level, only single inheritance is supported;multiple inheritance require dynamically creating a type object by calling the metatype.This field is not inherited by subtypes (obviously), but it defaults to PyBaseObject_Type (which to Python programmers is known as the type object).例文帳に追加
このフィールドのレベルでは、単継承 (single inheritance) だけがサポートされています;多重継承はメタタイプの呼び出しによる動的な型オブジェクトの生成を必要とします。 - Python
The Python memory manager thus delegates some of the work to the object-specificallocators, but ensures that the latter operate within the bounds of the private heap.It is important to understand that the management of the Python heap is performed by the interpreter itself and that the user has no control over it, even if she regularly manipulates object pointers to memory blocks inside that heap.例文帳に追加
このように、 Python メモリマネジャは作業のいくつかをオブジェクト固有のメモリ操作関数に委譲しますが、これらの関数がプライベートヒープからはみ出してメモリ管理を行わないようにしています。 重要なのは、たとえユーザがいつもヒープ内のメモリブロックを指すようなオブジェクトポインタを操作しているとしても、Python 用ヒープの管理はインタプリタ自体が行うもので、ユーザがそれを制御する余地はないと理解することです。 - Python
A Unicode codeunit is represented by a Unicode object of one item and can holdeither a 16-bit or 32-bit value representing a Unicode ordinal (the maximum value for the ordinal is given in sys.maxunicode, and depends on how Python is configured at compile time).例文帳に追加
Unicode コード単位とは、単一の Unicode オブジェクトで、Unicode 序数を表現する 16-bit または 32-bit の値を保持できるものです (この序数の最大値は sys.maxunicode で与えられており、コンパイル時にPython がどう設定されているかに依存します)。 - Python
In the following description, the quoted form is the format unit; the entry in (round)parentheses is the Python object type that matches the format unit;and the entry in [square] brackets is the type of the C variable(s)whose address should be passed.例文帳に追加
以下の説明では、引用符のついた形式は書式化単位です;(丸)括弧で囲った部分は書式化単位に対応する Python のオブジェクト型です; [角] 括弧は値をアドレス渡しする際に使う C の変数型です。 - Python
In some cases the argument list is also provided by the Python program, through the same interface that specified the callback function. It can then be saved and used in the same manner as the function object.例文帳に追加
あるケースでは、コールバック関数を指定したのと同じインタフェースを介して、引数リストも渡されているかもしれません。 - Python
The specific numeric values which the names map to may change between Pythonversions.This module also provides one data object and some functions.例文帳に追加
名前がマップする特定の数値は、Pythonのバージョン間で変わります。 このモジュールは一つのデータオブジェクトといくつかの関数も提供します。 - 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
DOM Level3adds a Load/Store specification, which defines an interface to the reader, but this is not yet available in the Python standard library.Once you have a DOM document object, you can access the parts of your XML document through its properties and methods.例文帳に追加
DOM レベル3 ではロード(Load)/ストア(Store) 仕様が追加され、リーダのインタフェースにを定義していますが、Python 標準ライブラリではまだ利用することができません。 DOM 文書オブジェクトを生成したら、そのプロパティとメソッドを使ってXML 文書の一部にアクセスできます。 - Python
Historically, Python's built-in types have differedfrom user-defined types because it was not possible to use the built-intypes as the basis for object-oriented inheritance. 例文帳に追加
これまでの Python の歴史では、組み込み型はオブジェクト指向における継承を行う際に雛型にできないという点で、ユーザ定義型とは異なっていました。 - Python
Website with documentation for the new python Berkeley DB interface that closely mirrors the sleepycat object oriented interface provided in Berkeley DB 3 and 4.例文帳に追加
新しいBerkeley DBインターフェースのドキュメントがあります。 新しいインターフェースは、BerkeleyDB 3と4でsleepycatが提供しているオブジェクト指向インターフェースとほぼ同じインターフェースとなっています。 - Python
However, their data can come from one of two sources: from a block of memory, or from another object which exports the bufferinterface.Buffer objects are useful as a way to expose the data from anotherobject's buffer interface to the Python programmer.例文帳に追加
しかし、バッファオブジェクトのデータは二つのデータソース:何らかのメモリブロックか、バッファインタフェースを公開している別のオブジェクト、のいずれかに由来しています。 バッファオブジェクトは、他のオブジェクトのバッファインタフェースからPython プログラマにデータを公開する方法として便利です。 - Python
Python's support for detecting and collecting garbage which involvescircular references requires support from object types which are``containers'' for other objects which may also be containers. 例文帳に追加
Python が循環参照を含むガベージの検出とコレクションをサポートするには、他のオブジェクトに対する ``コンテナ'' (他のオブジェクトには他のコンテナも含みます) となるオブジェクト型によるサポートが必要です。 - Python
Note that any Python object references which are provided to the caller are borrowed references; do not decrement their reference count!Additional arguments passed to these functions must be addresses of variables whose type is determined by the format string; these are used to store values from the input tuple.例文帳に追加
呼び出し側に提供される Python オブジェクトの参照は全て 借りた (borrowed) ものです; オブジェクトの参照カウントをデクリメントしてはなりません!以下の関数に渡す補助引数 (additional argument) は、書式化文字列から決定される型へのアドレスでなければなりません; 補助引数に指定したアドレスは、タプルから入力された値を保存するために使います。 - Python
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
Compiling a Python extension written in C or C++ will sometimes require specifying custom flags for the compiler and linker in order to use a particular library or produce a special kind of object code. This is especially true if the extension hasn't been tested on your platform, or if you're trying to cross-compile Python.In the most general case, the extension author might have foreseenthat compiling the extensions would be complicated, and provided a Setup file for you to edit.例文帳に追加
C や C++ で書かれた Python 拡張をコンパイルする際、しばしば特定のライブラリを使ったり、特定の種類のオブジェクトコードを生成したりする上で、コンパイラやリンカに与えるフラグをカスタマイズする必要があります。 ある拡張モジュールが自分のプラットフォームではテストされていなかったり、クロスコンパイルを行わねばならない場合にはこれが当てはまります。 - Python
Return in a single string any lines of comments immediately preceding the object's source code (for a class, function, or method), or at the top of the Python source file (if the object is a module).例文帳に追加
オブジェクトがクラス・関数・メソッドの何れかの場合は、オブジェクトのソースコードの直後にあるコメント行(複数行)を、単一の文字列として返します。 オブジェクトがモジュールの場合、ソースファイルの先頭にあるコメントを返します。 - Python
AppleEvent record descriptors are returned as Pythondictionaries, with 4-character string keys and elements recursivelyunpacked.The optional formodulename argument is used by the stub packages generated by gensuitemodule, and ensures that the OSA classes for object specifiers are looked up in the correct module.例文帳に追加
AppleEventレコードディスクリプタが、再帰的にアンパックされた、型の4文字キーと要素を持つPython辞書として返されます。 オプションの formodulename 引数は gensuitemodule より作成されるスタブパッケージにより利用され、オブジェクト指定子のための OSA クラスをモジュールの中で見つけられることを保証します。 - Python
path, possibly usingPYTHONPATH.Obsolete extension modules written in C are not built by default.Under Unix, these must be enabled by uncommenting the appropriate lines in Modules/Setup in the build tree and either rebuildingPython if the modules are statically linked, or building and installing the shared object if using dynamically-loaded extensions.例文帳に追加
撤廃された拡張モジュールのうち C で書かれたものは、標準の設定ではビルドされません。 Unixでこれらのモジュールを有効にするには、ビルドツリー内の Modules/Setup の適切な行のコメントアウトを外して、モジュールを静的リンクするなら Python をビルドしなおし、動的にロードされる拡張を使うなら共有オブジェクトをビルドしてインストールする必要があります。 - Python
| 例文 |
| この対訳コーパスは独立行政法人情報通信研究機構の研究成果であり、Creative Commons Attribution-Share Alike 3.0 Unportedでライセンスされています。 |
| Copyright 2001-2004 Python Software Foundation.All rights reserved. Copyright 2000 BeOpen.com.All rights reserved. Copyright 1995-2000 Corporation for National Research Initiatives.All rights reserved. Copyright 1991-1995 Stichting Mathematisch Centrum.All rights reserved. |
|
ログイン |
Weblio会員(無料)になると
|
|
ログイン |
Weblio会員(無料)になると
|