| 例文 |
python interpreterの部分一致の例文一覧と使い方
該当件数 : 89件
A tuple of strings giving the names of all modules that are compiled into this Python interpreter.例文帳に追加
コンパイル時にPythonインタープリタに組み込まれた、全てのモジュール名のタプル(この情報は、他の手段では取得することができません。 - Python
The Python interpreter provides some low-level support for attachingprofiling and execution tracing facilities. 例文帳に追加
Python インタプリタは、プロファイル: 分析 (profile) や実行のトレース: 追跡 (trace) といった機能を組み込むために低水準のサポートを提供しています。 - Python
And in fact this would work if all extension modules were always linked statically with the Python interpreter.例文帳に追加
そして実際のところ、全ての拡張モジュールが Python インタプリタに常に静的にリンクされている場合にはうまく動作します。 - Python
This tree is used to generate an abstract syntax tree (AST) and then Python bytecode.The full functionality of the package duplicates the builtin compiler provided with the Python interpreter.例文帳に追加
この構文木から抽象構文木 AST (Abstract Syntax Tree) が生成され、その後 Python バイトコードが得られます。 このパッケージの機能は、Python インタプリタに内蔵されている組み込みのコンパイラがすべて含んでいるものです。 - Python
A default value for the path is configured into the Pythonbinary when the interpreter is built. 例文帳に追加
検索パスのデフォルト値は、インタプリタをビルドする際に 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
If the main program (the Python interpreter) is compiled and linked by the C compiler, global or static objects with constructorscannot be used.例文帳に追加
メインプログラム (Python インタプリタ) は C コンパイラでコンパイルされリンクされているので、グローバル変数や静的オブジェクトをコンストラクタで作成できません。 - Python
and some other functions below to find the Python run-time libraries relative to the interpreter executable.例文帳に追加
や、以下に示すその他の関数が、インタプリタの実行可能形式からPython ランタイムライブラリへの相対パスを取得するために使われます。 - Python
(This performs an installation using the ``prefix scheme,'' where the prefix is whatever your Python interpreter was installed with--/usr/local/python in this case.)If you maintain Python on Windows, you might want third-party modules to live in a subdirectory of prefix, rather than right in prefix itself.例文帳に追加
(この操作を行うと、 ``prefix スキーム'' を使ったインストールになり、 prefix は Python インタプリタがインストールされている場所-- この場合には /usr/local/python になります。 )Windows 用の Python を管理しているのなら、サードパーティ製モジュールを prefix そのものの下ではなく、 prefix の下にあるサブディレクトリに置きたいと考えるかもしれません。 - Python
This is useful if you have edited the module source file using an external editor and want to try out the new version without leaving the Python interpreter.例文帳に追加
この関数はモジュールのソースコードファイルを外部エディタで編集して、Python インタプリタから離れることなく新しいバージョンを試したい際に有効です。 - 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
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
Function to update some internal state after a process fork; this should be called in the new process if the Python interpreter will continue to be used.例文帳に追加
プロセスが fork した後の内部状態を更新するための関数です;fork 後 Python インタプリタを使い続ける場合、新たなプロセス内でこの関数を呼び出さねばなりません。 - Python
Like in the section about the very high level interface,the Python interpreter does not directly interact with the application (but that will change in the next section).The code to run a function defined in a Python script is:例文帳に追加
超高水準インタフェースに関する節で挙げた例と同様に、Python インタプリタはアプリケーションと直接やりとりはしません (が、次の節でやりとりするよう変更します)。 Python スクリプト内で定義されている関数を実行するためのコードは以下のようになります: - Python
Raised when the interpreter finds an internal error, but the situation does not look so serious to cause it to abandon all hope.The associated value is a string indicating what went wrong (in low-level terms).You should report this to the author or maintainer of your Python interpreter.例文帳に追加
インタプリタが内部エラーを発見したが、その状況は全ての望みを棄てさせるほど深刻ではないように思われる場合に送出されます。 - Python
The same text documentation can also be viewed from outside the Python interpreter by runningpydoc as a script at the operating system's command prompt.For example, running例文帳に追加
pydocをPythonインタプリタからはなく、オペレーティングシステムのコマンドプロンプトから起動した場合でも、同じテキスト形式のドキュメントを見ることができます。 例えば、以下をshellから実行すると - Python
function with the difference that the first entry should refer to the script file to be executedrather than the executable hosting the Python interpreter.例文帳に追加
に渡したパラメタに似ていますが、最初の要素が Python インタプリタの宿主となっている実行形式の名前ではなく、実行されるスクリプト名を参照しなければならない点が違います。 - Python
Warning:Some illegal calls to the GL library cause the Python interpreter to dump core.In particular, the use of most GL calls is unsafe before the first window is opened.例文帳に追加
警告:GLライブラリの不適切な呼び出しによっては、Pythonインタープリタがコアを吐き出すことがあります。 特に、GLのほとんどの関数では最初のウィンドウを開く前に呼び出すのは安全ではありません。 - Python
While a language specification need not prescribe how the language interpreter is invoked, it is useful to have a notion of a complete Python program.例文帳に追加
言語仕様の中では、その言語を処理するインタプリタがどのように起動されるかまで規定する必要はないのですが、完全な Python プログラムについての概念を持っておくと役に立ちます。 - Python
Since the Warning class is derived from the built-inException class, to turn a warning into an error we simplyraise category(message).The warnings filter is initialized by -W options passed to the Python interpreter command line.例文帳に追加
Warning クラスは組み込みの Exception クラスから導出されているので、警告をエラーに変えるには単にcategory(message) を raise します。 警告フィルタは Python インタプリタのコマンドラインに渡される-W オプションで初期化されます。 - Python
Thus,you might think you'll never use the prefix scheme, but every time you run python setup.py install without any other options, you'reusing it.Note that installing extensions to an alternate Python installation has no effect on how those extensions are built: in particular, the Python header files (Python.h and friends) installed with the Python interpreter used to run the setup script will be used in compilingextensions.例文帳に追加
というわけで、読者は prefix スキームを決して使うことはあるまいと思っているかもしれませんが、python setup.py install をオプションを何もつけずに実行していれば、常に prefix スキームを使っていることになるのです。 拡張モジュールを別のインストール済み Python にインストールしても、拡張モジュールのビルド方法による影響を受けることはありません:特に、拡張モジュールをコンパイルする際には、setup スクリプトを実行する際に使う Python インタプリタと一緒にインストールされている Python ヘッダファイル (Python.h とその仲間たち) を使います。 - Python
The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.This reference manual describes the syntax and ``core semantics'' of the language.例文帳に追加
Python インタプリタと多数の標準ライブラリは、ほとんどのプラットフォームでソースコード形式でもバイナリ形式でも無料で入手することができ、無料で配布することができます。 このリファレンスマニュアルでは、Python 言語の文法と、``コアとなるセマンティクス'' について記述します。 - Python
An important convention throughout the Python interpreter is the following: when a function fails, it should set an exception condition and return an error value (usually a NULL pointer).例文帳に追加
Python インタプリタ全体を通して、一つの重要な取り決めがあります:それは、関数が処理に失敗した場合、例外状態をセットして、エラーを示す値 (通常は NULL ポインタ) を返さねばならない、ということです。 - 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
The Python interpreter can get its input from a number of sources:from a script passed to it as standard input or as program argument,typed in interactively, from a module source file, etc. 例文帳に追加
Python インタプリタは、標準入力や、プログラムの引数として与えられたスクリプト、対話的にタイプ入力された命令、モジュールのソースファイルなど、様々な入力源から入力を得ることができます。 - Python
The autoGIL module provides a function installAutoGIL that automatically locks and unlocks Python's Global Interpreter Lockwhen running an event loop.例文帳に追加
autoGILモジュールは、自動的にイベントループを実行する場合 、Python のグローバルインタープリタをロックしたり、ロックの解除をしたりするための関数 installAutoGIL を提供します。 - Python
Thus, invokingpydoc spam documents precisely the version of the module you would get if you started the Python interpreter and typed "import spam".Module docs for core modules are assumed to reside inhttp://www.python.org/doc/current/lib/.例文帳に追加
そのため、pydoc spamを実行した場合につくられるドキュメントは、Pythonインタプリタを起動して"import spam"と入力したときに読み込まれるモジュールに対するドキュメントになります。 コアモジュールのドキュメントはhttp://www.python.org/doc/current/lib/ にあると仮定されています。 - Python
All user-visible symbols defined by Python.h have a prefix of "Py" or "PY", except those defined in standard header files.For convenience, and since they are used extensively by the Python interpreter, "Python.h" includes a few standard header files:stdio.h, string.h, errno.h, and stdlib.h.例文帳に追加
Python.h で定義されているユーザから可視のシンボルは、全て接頭辞"Py" または "PY" が付いています。 ただし、標準ヘッダファイル内の定義は除きます。 - Python
Install an observer callback in the event loop (CFRunLoop) for the current thread, that will lock and unlock the Global Interpreter Lock(GIL) at appropriate times, allowing other Python threads to run while the event loop is idle.Availability: OSX 10.1 or later.例文帳に追加
現在のスレッドのイベントループ(CFRunLoop)中のオブザーバにコールバックを行ない、適切な時にグローバルインタープリタロック(GIL)を、イベントループが使用されていない間、他の Python スレッドの起動ができるようにロックしたり、ロックの解除をしたりします。 有効性:OSX 10.1以降 - Python
Their contents may change from one version of Python to the next without warning and should not be relied on by code which will run under multiple versions of the interpreter.例文帳に追加
メッセージの内容は、ある Python のバージョンから次のバージョンになるときに、警告なしに変更される可能性があります。 したがって、複数バージョンのインタプリタで動作するようなコードにおいては、例外メッセージの内容に依存した記述をすべきではありません。 - 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
(Like all other Python/C API functions, the global interpreter lock must be held before calling this function and is still held when it returns; however, unlike most other Python/C API functions, there needn't be a current thread state on entry.)Extension modules are shared between (sub-)interpreters as follows:the first time a particular extension is imported, it is initializednormally, and a (shallow) copy of its module's dictionary issquirreled away.例文帳に追加
(他の Python/C API 関数のように、この関数を呼び出す前にはグローバルインタプリタロック(global interpreter lock) が保持されていなければならず、関数が処理を戻した際にも保持されたままになります; しかし、他の Python/C API 関数とは違い、関数から戻ったときの現在のスレッド状態が関数に入るときと同じとは限らないので注意してください)。 拡張モジュールは以下のような形で (サブ) インタプリタ間で共有されます: ある特定の拡張モジュールを最初に import すると、モジュールを通常通りに初期化し、そのモジュールの辞書の(浅い) コピーをしまい込んでおきます。 - Python
Finally, it shows howto compile and link extension modules so that they can be loaded dynamically (at run time) into the interpreter, if the underlying operating system supports this feature. This document assumes basic knowledge about Python.例文帳に追加
このドキュメントの最後には、オペレーティングシステム上で (実行時に)動的に拡張モジュールをロードする機能がサポートされている場合に、動的ロード可能な拡張モジュールをコンパイルしてリンクする方法を示します。 このドキュメントでは、読者は Python について基礎的な知識を持ち合わせているものと仮定しています。 - Python
However, transportingcode from one Python version to another as source text will always allow correct parse trees to be created in the target version, with the only restriction being that migrating to an older version of the interpreter will not support more recent language constructs.例文帳に追加
しかし、Pythonのあるバージョンから別のバージョンへテキストのソースのままコードを移せば、目的のバージョンで正しい解析木を常に作成できます。 ただし、インタープリタの古いバージョンへ移行する際に、最近の言語コンストラクトをサポートしていないことがあるという制限だけがあります。 - Python
The syntax for a complete Python program is that for file input,described in the next section.The interpreter may also be invoked in interactive mode; in this case,it does not read and execute a complete program but reads and executesone statement (possibly compound) at a time. 例文帳に追加
完全な Python プログラムの構文は、下の節で述べるファイル入力のためのものです。 インタプリタは、対話的モード (interactive mode) で起動されることもあります; この場合、インタプリタは完全なプログラムを読んで実行するのではなく、一度に単一の実行文 (複合文のときもあります) を読み込んで実行します。 - 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
If you use dynamic loading, the details may depend on the style of dynamic loading your system uses; see the chapters about building extension modules(chapter 3) and additional information that pertains only to building on Windows (chapter 4) for more information about this.If you can't use dynamic loading, or if you want to make your module a permanent part of the Python interpreter, you will have to change the configuration setup and rebuild the interpreter.例文帳に追加
動的読み込み (dynamic loading) を使っているのなら、作業の詳細は自分のシステムが使っている動的読み込みの形式によって変わるかもしれません; 詳しくは、拡張モジュールのビルドに関する章 (3 章) や、Windows におけるビルドに関係する追加情報の章(4 章) を参照してください。 動的読み込みを使えなかったり、モジュールを常時 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会員(無料)になると
|