「python from」を含む例文一覧(117)

<前へ 1 2 3 次へ>
  • If provided,they should take the form defined by the Python IDL mapping, but these methods are considered unnecessary since the attributes are accessible directly from Python.
    アクセサ関数が提供された場合、Python IDL 対応付けによって定義された形式をとらなければなりませんが、属性は Python から直接アクセスすることができるので、それらのメソッドは必須ではないと考えられます。 - Python
  • The functions in this chapter perform various utility tasks, ranging from helping C code be more portable across platforms, using Python modules from C, and parsing function arguments and constructing Python values from C values. Subsections
    この章の関数は、 C で書かれたコードをプラットフォーム間で可搬性のあるものにする上で役立つものから、C から Python モジュールを使うもの、そして関数の引数を解釈したり、 C の値から Python の値を構築するものまで、様々なユーティリティ的タスクを行います。 - 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
  • Here is the example from section 9.1, rewritten so that the I/O buffer is allocated from the Python heap by using the first function set:
    最初に述べた関数セットを使って、9.1 節の例を Python ヒープに I/O バッファをメモリ確保するように書き換えたものを以下に示します: - Python
  • 1.3.4 ``Save as'' versus ``Save as Applet'' When you are done writing your Python script you have the option of saving it as an ``applet'' (by selecting ``Save as applet'' from the``File'' menu).
    1.3.4 ``Save as'' と ``Save as Applet'' の違い Python スクリプトを書いたら、ファイルを 「アプレット」としても保存できます (``File''メニューの``Save as applet''を選びます) 。 - Python
  • This class may be initialized from any Python value; the instancereturned depends only on its truth value.
    このクラスは全てのPythonの値で初期化することができ、生成されるインスタンスは指定した値の真偽値によってのみ決まります。 - Python
  • In here you find the PythonIDE Integrated Development Environment;PythonLauncher, which handles double-clicking Python scripts from the Finder; and the Package Manager.
    このフォルダの中には、 PythonIDE 統合開発環境、ファインダからダブルクリックして Python スクリプトを起動するための PythonLauncher、Package Manager が入っています。 - Python
  • The API is equally usable from C++, but for brevity it is generally referred to as the Python/C API.
    この API は通常C++ からも全く同じように利用できるのですが、簡潔な呼び名にするために Python/C API と名づけられています。 - Python
  • To retrieve them from an installed Python interpreter,start an interactive interpreter and have a short session like this:
    インストール済みの Python インタプリタからオプションを取り出すには、対話インタプリタを起動して、以下のような短いセッションを実行します: - Python
  • The parser itself is created from a grammarspecification defined in the file Grammar/Grammar in the standard Python distribution.
    標準のPythonディストリビューションに含まれるファイルGrammar/Grammarの中で定義されている文法仕様から、パーサ自身は作成されています。 - Python
  • This limit prevents infinite recursion from causing an overflow of the C stack and crashing Python. The highest possible limit is platform-dependent.
    この制限はPythonプログラムが無限に再帰し、Cスタックがオーバーフローしてクラッシュすることを防止するために設けられています。 - Python
  • Raised when a specified range of text does not fit into a string. This is not known to be used in the Python DOM implementations, but may be received from DOM implementations not written in Python.
    指定された範囲のテキストが文字列に収まらない場合に送出されます。 この例外は Python の DOM 実装で使われるかどうかは判っていませんが、Python で書かれていない DOM 実装から送出される場合があります。 - Python
  • If you are writing code that does not need to work with versions of Python earlier than Python 2.2, please consider subclassing directly from the built-in str type instead of using UserString (there is no built-in equivalent to MutableString).
    Python 2.2より前のバージョンのPythonで動作する必要のないコードを書いているのならば、UserStringを使う代わりに組み込みstr型から直接サブクラス化することを検討してください(組み込みのMutableStringと等価なものはありません)。 - Python
  • Permission to use, copy, modify, and distribute this Python softwareand its associated documentation for any purpose (subject to therestriction in the following sentence) without fee is hereby granted,provided that the above copyright notice appears in all copies, andthat both that copyright notice and this permission notice appear insupporting documentation, and that the name of InfoSeek not be used inadvertising or publicity pertaining to distribution of the softwarewithout specific, written prior permission. This permission isexplicitly restricted to the copying and modification of the softwareto remain in Python, compiled Python, or other languages (such as C)wherein the modified or derived code is exclusively imported into aPython module.INFOSEEK CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THISSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY ANDFITNESS. IN NO EVENT SHALL INFOSEEK CORPORATION BE LIABLE FOR ANYSPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVERRESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OFCONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR INCONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.The profiler was written after only programming in Python for 3 weeks.As a result, it is probably clumsy code, but I don't know for sure yet'cause I'm a beginner :-).
    Permission to use, copy, modify, and distribute this Python softwareand its associated documentation for any purpose (subject to therestriction in the following sentence) without fee is hereby granted,provided that the above copyright notice appears in all copies, andthat both that copyright notice and this permission notice appear insupporting documentation, and that the name of InfoSeek not be used inadvertising or publicity pertaining to distribution of the softwarewithout specific, written prior permission. This permission isexplicitly restricted to the copying and modification of the softwareto remain in Python, compiled Python, or other languages (such as C)wherein the modified or derived code is exclusively imported into aPython module.INFOSEEK CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THISSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY ANDFITNESS. IN NO EVENT SHALL INFOSEEK CORPORATION BE LIABLE FOR ANYSPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVERRESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OFCONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR INCONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.このプロファイラは私が Python プログラミングを始めてからわずか3週間後に書いたものです。 - Python
  • A script runs from an application bundle either when it has been started with pythonw instead of python or when running as an applet.On Mac OS 9 the method always returns True.
    Mac OS 9 上ではこの関数はつねに True を返します。 - Python
  • The mapping from OMG IDL to Python defines accessor functions for IDLattribute declarations in much the way the Java mapping does.
    OMG IDL から Python への対応付けは、 IDL attribute 宣言へのアクセサ関数の定義を、Java による対応付けが行うのとほとんど同じように行います。 - Python
  • In a real program, you may want to get the Python script from another source, perhaps a text-editor routine, a file, or a database.
    実際のプログラムでは、Python スクリプトを他のソース、おそらくテキストエディタルーチンやファイル、データベースから取り出したいと考えるかもしれません。 - Python
  • It is usually a good idea to always use the latest version of this tool rather than aversion from an older source release of Python.
    このツールは、古い Python のソースリリースに入っているバージョンではなく、常に最新のバージョンを使うようにするのがよいでしょう。 - Python
  • Returns 0when the input was executed successfully, -1 if there was an exception, or an error code from the errcode.h include file distributed as part of Python if there was a parse error.
    パースエラーの場合はPythonの一部として配布されているerrcode.hインクルードファイルにあるエラーコードを返します。 (Python.hはerrcode.hをインクルードしません。 - Python
  • The high level interface gives you the ability to execute arbitrary pieces of Python code from your application, butexchanging data values is quite cumbersome to say the least.
    高水準インタフェースは、断片的な Python コードをアプリケーションから実行できるようにしてくれますが、アプリケーションと Python コードの間でのデータのやり取りは、控えめに言っても煩わしいものです。 - Python
  • Since most parsers used from Python did not take advantage of the older interface, the simpler signature was chosen to replace it.
    しかし 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
  • It uses format strings(explained below) as compact descriptions of the lay-out of the Cstructs and the intended conversion to/from Python values.
    このモジュールでは、C 構造体のレイアウトおよび Python の値との間で行いたい変換をコンパクトに表現するために、フォーマット文字列 を使います。 - Python
  • The recommended way to do this is to supply relative paths; for example, if you want to maintain all Python module-related files under python in your home directory, and you want a separate directory for each platform that you use your home directory from, you might define the following installation scheme:
    この作業には、相対パスを使った指定を勧めます; 例えば、全ての Python モジュール関連ファイルをホームディレクトリ下の python ディレクトリの下に置き、そのホームディレクトリをマウントしている各プラットフォームごとに別のディレクトリを置きたければ、以下のようにインストールスキームを定義します: - Python
  • Nevertheless, just to be sure that everyone is operating from a common starting point, we offer the following glossary of common Python terms:
    とはいえ、読者がみな共通のスタートポイントに立って Distutils の操作を始められるように、ここで一般的な Python 用語について以下のような用語集を示しておきます: - Python
  • However, if you reinstall the same major version of Python (perhapswhen upgrading from 2.2 to 2.2.2, for example) site.py will be overwritten by the stock version.
    しかしながら、(例えば 2.2 から 2.2.2 にアップグレードするときのように)同じメジャーバージョンの Python を再インストールすると、site.py は手持ちのバージョンで上書きされてしまいます。 - Python
  • You should now be able to repeat the following session (C is the DOS prompt, is the Python prompt; note that build information and various debug output from Python may not match this screen dump exactly):
    以下のセッション通りにコマンドを実行できるはずです(C は DOS コマンドのプロンプト、 はPython のプロンプトです; ビルド情報や様々なデバッグ出力は、ここに示したスクリーン出力と一致しないこともあるので注意して下さい): - Python
  • Be aware that the values of the sequences which are considered``correct'' will vary from one version of Python to another as the formal grammar for the language is revised.
    言語の形式文法が改訂されるために、``正しい''と考えられるシーケンスの値がPythonのあるバージョンから別のバージョンで変化することがあるということに注意してください。 - 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
  • Many extension modules just provide new functions and types to beused from Python, but sometimes the code in an extension module can be useful for other extension modules.
    多くの拡張モジュールは単に 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 gensuitemodule module creates a Python package implementingstub code for the AppleScript suites that are implemented by a specific application, according to its AppleScript dictionary.It is usually invoked by the user through the PythonIDE, but it can also be run as a script from the command line (pass--help for help on the options) or imported from Python code.
    gensuitemodule モジュールは AppleScript 辞書によって特定のアプリケーションに実装されている AppleScript 群のためのスタブコードを実装した Python パッケージを作成します。 このモジュールは、通常は PythonIDE からユーザによって起動されますが、コマンドラインからスクリプトとして実行する(オプションとしてヘルプに --help を与えてみてください)こともできますし、Python コードでインポートして利用する事もできます。 - 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
  • Behavior in exceptional cases is loosely specified by the C standards, and Python inherits much of itsmath-function error-reporting behavior from the platform Cimplementation.
    例外的な場合での挙動は、 C 言語標準ではおおさっぱにしか定義されておらず、さらに Python は数学関数におけるエラー報告機能の挙動をプラットフォームのC 実装から受け継いでいます。 - Python
  • These are used for profiling, debugging, and coverage analysis tools.Starting with Python 2.2, the implementation of this facility wassubstantially revised, and an interface from C was added.
    このサポートは、プロファイルやデバッグ、適用範囲分析 (coverage analysis) ツールなどに使われます。 Python 2.2 になってから、この機能の実装は実質的に作り直され、C から呼び出すためのインタフェースが追加されました。 - 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 reverse is also useful: calling Python functions from C.This is especially the case for libraries that support so-called``callback'' functions.
    とりわけ、いわゆる ``コールバック'' 関数をサポートするようなライブラリを作成する際にはこの機能が便利です。 - Python
  • This limit prevents infinite recursion from causing an overflow of the C stack and crashingPython.
    この制限はPythonプログラムが無限に再帰し、Cスタックがオーバーフローしてクラッシュすることを防止するために設けられています。 - Python
  • The ordering of the chapters as well as the ordering of the modules within each chapter is roughly from most relevant to least important.This means that if you start reading this manual from the start, and skip to the next chapter when you get bored, you will get a reasonableoverview of the available modules and application areas that are supported by the Python library.
    つまり、このマニュアルを最初から読み始め、読み飽き始めたところで次の章に進めば、Python ライブラリで利用できるモジュールやサポートしているアプリケーション領域の概要をそこそこ理解できるということです。 - Python
  • Possible uses includeallowing Python scripts to accept typed passwords from the user, orattempting to crack Unix passwords with a dictionary.Notice that the behavior of this module depends on the actual implementation of the
    このモジュールは、Python スクリプトがユーザから入力されたパスワードを受理できるようにしたり、Unixパスワードに (脆弱性検査のための) 辞書攻撃を試みるのに使えます。 このモジュールは実行環境の - Python
  • The class provides a backward compatible way to reproduce results from earlier versions of Python which used the Wichmann-Hill algorithm as the core generator.Changed in version 2.3:Substituted MersenneTwister for Wichmann-Hill.
    このクラスは、乱数生成器に Wichmann-Hill 法を使っていた古いバージョンの Python から得られた結果を再現するための、後方互換の手段になります。 バージョン 2.3 で 変更 された仕様:MersenneTwister を Wichmann-Hill の代わりに使う - Python
  • The Python mapping defined here is based in large part on the IDL version of the specification, but strictcompliance is not required (though implementations are free to support the strict mapping from IDL).
    ここで定義されている Python での対応づけは、大部分がこの仕様の IDL 版に基づいていますが、厳密な準拠は必要とされていません (実装で IDL の厳密な対応付けをサポートするのは自由ですが)。 - Python
  • Since Python does not have an explicit notion of interface, they are formally introduced as classes, but applications may use implementations which do not inherit from the provided classes.
    Python はインターフェースという明確な概念を提供していないため、形としてはクラスが用いられています。 しかし提供されるクラスを継承せずに、アプリケーション側で独自に実装することも可能です。 - Python
  • All of these forms of input from the community have proved useful during the time I've been involved in maintaining the documentation.This document is aimed at authors and potential authors of documentation for Python.
    筆者自身、ドキュメントの維持に参加している中で、こうしたコミュニティから寄せられる入力全てが有用だと確信させられました。 このドキュメントは、Python のドキュメントの作者、あるいは潜在的な作者向けのものです。 - Python
  • Code objects are used by the implementation to represent``pseudo-compiled'' executable Python code such as a function body.They differ from function objects because they don't contain a reference to their global execution environment.
    コードオブジェクトは、関数本体のような ``擬似コンパイルされた''Python の実行可能コードを表すために実装系によって使われます。 コードオブジェクトはグローバルな実行環境への参照を持たない点で関数オブジェクトとは異なります。 - Python
  • The following function sets, modeled after the ANSI C standard,but specifying behavior when requesting zero bytes,are available for allocating and releasing memory from the Python heap:
    Python ヒープに対してメモリを確保したり解放したりするために、以下の関数セットが利用できます。 これらの関数は ANSI C 標準に従ってモデル化されていますが、0 バイトの領域を要求した際の動作についても定義しています: - Python
  • defines constants that are useful for extracting information from a statvfs structure when accessing it as a sequence; this remains useful when writing code that needs to work with versions of Python that don't support accessing the fields as attributes.
    では、シーケンスとしてアクセスする場合に、statvfs 構造体から情報を引き出す上便利な関数や定数を定義しています; これは属性として各フィールドにアクセスできないバージョンの Python で動作する必要のあるコードを書く際に便利です。 - Python
  • A subclass that wants to override this variable should probably start with the value from the base class and concatenate additional forbidden functions -- when new dangerousbuilt-in functions are added to Python, they will also be added to this module.)
    この変数をオーバライドしたいサブクラスは、基本クラスからの値から始めて、追加した許されない関数を連結していかなければなりません - 危険な関数が新しく Python に追加された時は、それらも、このモジュールに追加します。 - Python
  • This means that the typical surrogates generated by Python IDL compilers are not likely to work, and wrapper objects maybe needed on the client if the DOM objects are accessed via CORBA.While this does require some additional consideration for CORBA DOMclients, the implementers with experience using DOM over CORBA from Python do not consider this a problem.
    これは、Python IDL コンパイラによって生成された典型的なサロゲーションはまず動作することはなく、DOM オブジェクトがCORBA を解してアクセスされる場合には、クライアント上でラッパオブジェクトが必要であることを意味します。 CORBA DOM クライアントでは他にもいくつか考慮すべきことがある一方で、CORBA を介して DOM を使った経験を持つ実装者はこのことを問題視していません。 - Python
  • This module implements a number of iterator building blocks inspired by constructs from the Haskell and SML programming languages.
    このモジュールではイテレータを構築する部品を実装しています。 プログラム言語HaskellとSMLからアイデアを得ていますが、Pythonに適した形に修正されています。 - Python
<前へ 1 2 3 次へ>

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