| 例文 |
"python interpreter"を含む例文一覧と使い方
該当件数 : 71件
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
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
An application that has loaded the Python interpreter from a dynamically loadable library (or DLL) might want to free all memory allocated by Python before unloading the DLL.例文帳に追加
また、動的ロード可能イブラリ(あるいは DLL) から Python インタプリタをロードするアプリケーションでは、DLL をアンロードする前に 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
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
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
(Frozen modules are modules written in Python whose compiled byte-code object is incorporated into a custom-built Python interpreter by Python's freeze utility.See Tools/freeze/ for now.)例文帳に追加
(フリーズされたモジュールはPythonで書かれたモジュールで、そのコンパイルされたバイトコードオブジェクトがPythonのfreezeユーティリティを使ってカスタムビルトPythonインタープリタへ組み込まれています。 差し当たり、Tools/freeze/を参照してください。 - 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
The difference is that when you extend Python, the main program of the application is still the Python interpreter, while if you embed Python, the main program may have nothing to do with Python --instead, some parts of the application occasionally call the Python interpreter to run some Python code.So if you are embedding Python, you are providing your own main program.例文帳に追加
その違いは、Python を拡張した場合にはアプリケーションのメインプログラムは依然として Python インタプリタである一方、 Python を組み込みんだ場合には、メインプログラムにはPython が関係しない -- その代わりに、アプリケーションのある一部分が時折 Python インタプリタを呼び出して何らかの 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
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
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
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
(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
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
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
| 例文 |
| この対訳コーパスは独立行政法人情報通信研究機構の研究成果であり、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会員(無料)になると
|