pythonを含む例文一覧と使い方
該当件数 : 1381件
.The AST objects are not required to support the functionality of this module, but are provided for three purposes: to allow an application to amortize the cost of processing complex parse trees, to provide a parse tree representation which conserves memory space when compared to the Python list or tuple representation, and to ease the creation of additional modules in C which manipulate parse trees.例文帳に追加
で定義されています。 ASTオブジェクトはこのモジュールの機能をサポートするために必要ありませんが、三つの目的から提供されています: アプリケーションが複雑な解析木を処理するコストを償却するため、Pythonのリストやタプル表現に比べてメモリ空間を保全する解析木表現を提供するため、解析木を操作する追加モジュールをCで作ることを簡単にするため。 - 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
Japan's first cases of reproduction: (1) mammals: lion, tiger, western lowland gorilla, lar gibbon, European bison (2) birds: white stork, black-necked swan, Caribbean flamingo, streaked shearwater, plain chachalaca (3) reptiles: Florida python, red-footed tortoise. 例文帳に追加
日本初の繁殖の成功例としては、哺乳類でライオン、トラ、ニシローランドゴリラ、シロテナガザル、ヨーロッパバイソン、鳥類でシュバシコウ、クロエリハクチョウ、ベニイロフラミンゴ、オオミズナギドリ、ムジヒメシャクケイ、爬虫類はフロリダニシキヘビ、アカアシガメがある。 - Wikipedia日英京都関連文書対訳コーパス
(A``quote'' is the character used to open the string, i.e. either' or ".)Unless an "r" or "R" prefix is present, escapesequences in strings are interpreted according to rules similarto those used by Standard C. The recognized escape sequences are: 例文帳に追加
"r" または "R" 接頭文字がつかないかぎり、文字列中のエスケープシーケンスは標準 C で使われているのと同様の法則にしたがって解釈されます。 以下に Python で認識されるエスケープシーケンスを示します: - Python
If such cycles must be created, it is important to ensure they are explicitly broken to avoid the delayed destruction of objects and increased memory consumptionwhich occurs.Though the cycle detector will catch these, destruction of the frames(and local variables) can be made deterministic by removing the cycle in a finally clause.例文帳に追加
参照の削除をPythonの循環参照検出機能にまかせる事もできますが、finally節で循環参照を解除すれば確実にフレーム(とそのローカル変数)は削除されます。 - Python
package uses a variant on the visitor pattern that takes advantage of Python'sintrospection features to elminiate the need for much of the visitor'sinfrastructure.The classes being visited do not need to be programmed to acceptvisitors.例文帳に追加
パッケージは、Python のイントロスペクション機能を利用してvisitor のために必要な大部分のインフラを省略した、visitor パターンの変種を使っています。 visit されるクラスは、visitor を受け入れるようにプログラムされている必要はありません。 - 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
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
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
The interface described below allows you to write your module and application messages in one natural language, and provide a catalog of translated messages for running under different naturallanguages.Some hints on localizing your Python modules and applications are also given.例文帳に追加
以下で述べるインタフェースを使うことで、モジュールやアプリケーションのメッセージをある自然言語で記述しておき、翻訳されたメッセージのカタログを与えて他の異なる自然言語の環境下で動作させることができます。 - Python
An FSSpec can point to a non-existing file, as long as the folder containing the file exists.Under MacPython the same is true for a pathname, but not under unix-Pytonbecause of the way pathnames and FSRefs works.例文帳に追加
FSSpec は、実在しないファイルでも、実在するフォルダの下に配置されていることになっている限り表現できます。 MacPython ではパス名も同じように扱えますが、 unix ベースの Python ではパス名とFSRefsの挙動が異なるため扱えません。 - 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
Suchthreads must bootstrap themselves into existence, by first creating a thread state data structure, then acquiring the lock, and finallystoring their thread state pointer, before they can start using thePython/C API.例文帳に追加
このようなスレッドが Python/C API を利用するには、まずスレッド状態データ構造体を生成し、次にロックを獲得し、そしてスレッド状態ポインタを保存するといったように、自分自身をブートストラップして生成しなければなりません。 - 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
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
# euse -aX [+ CD ]aalib [+ ]acpi [+ C ]alsa [+ C ]apache2 [+ C ]apm [+ D ]avi [+ D ]berkdb [+ D ]bitmap-fonts [+ D ]bonobo [+ ]cdr [+ C ]crypt [+ CD ]cscope [+ C ]cups [+ CD ]curl [+ ]emboss [+ D ]encode [+ D ]esd [+ ]fam [+ ]fbcon [+ C ]firefox [+ C ]font-server [+ D ]foomaticdb [+ D ]fortran [+ D ]gd [+ C ]gdbm [+ D ]gif [+ CD ]gimpprint [+ C ]gnome [+ CD ]gphoto2 [+ ]gpm [+ CD ]gstreamer [+ C ]gtk [+ D ]gtkhtml [+ C ]guile [+ ]imagemagick [+ ]imlib [+ CD ]innodb [+ ]ipv6 [+ D ]javascript [+ C ]jpeg [+ CD ]kde [+ D ]ldap [+ ]libg++ [+ CD ]libwww [+ CD ]mad [+ CD ]mbox [+ C ]md5sum [+ C ]mikmod [+ CD ]mmx [+ C ]motif [+ CD ]mp3 [+ ]mpeg [+ CD ]mpeg4 [+ C ]mysql [+ C ]ncurses [+ CD ]nls [+ D ]nvidia [+ C ]odbc [+ ]offensive [+ ]ogg [+ CD ]opengl [+ CD ]oss [+ D ]pam [+ CD ]pdflib [+ CD ]perl [+ CD ]png [+ CD ]python [+ CD ]qt [+ D ]quicktime [+ CD ]readline [+ CD ]ruby [+ ]sdl [+ CD ]slang [+ D ]spell [+ CD ]sse [+ C ]ssl [+ CD ]svga [+ CD ]tcltk [+ C ]tcpd [+ D ]tiff [+ C ]truetype [+ CD ]usb [+ C ]vanilla [+ C ]x86 [+ C ]xml [+ ]xosd [+ C ]xv [+ CD ]xvid [+ C ]zlib [+ CD ] 例文帳に追加
同じようにeuse-a-gコマンドでアクティブなグローバルUSEフラグだけをみることができます。 - Gentoo Linux
The socket address will be resolved differently into an actual IPv4/v6 address,depending on the results from DNS resolution and/or the host configuration.例文帳に追加
IPv4/v6ソケットのhost部にホスト名を指定すると、処理結果が一定ではない場合があります。 これはPythonはDNSから取得したアドレスのうち最初のアドレスを使用するので、DNSの処理やホストの設定によって異なるIPv4/6アドレスを取得する場合があるためです。 - Python
Hardcore cypherpunks will probably find the cryptographic modules written by A.M. Kuchling of further interest; the package addsbuilt-in modules for DES and IDEA encryption, provides a Python module for reading and decrypting PGP files, and then some.例文帳に追加
あなたがハードコアなサイバーパンクなら、さらに A.M. Kuchling の書いた暗号化モジュールに興味を持つかもしれません。 このパッケージでは組み込みの DES および IDEA 暗号を追加し、PGP 暗号化されたファイルの読み込みや復号化を行うためのモジュールなどを提供します。 - 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
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
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
There are no variants with NULLchecking.The C function calling mechanism guarantees that the argument list passed to C functions (args in the examples) is neverNULL -- in fact it guarantees that it is always a tuple.例文帳に追加
型を調べるマクロには、NULL チェックを行う変化形はありません。 Python から C 関数を呼び出す機構は、 C 関数に渡される引数リスト(例でいうところの args) が決して NULL にならないよう保証しています -- 実際には、常にタプル型になるよう保証しています。 - Python
Since we do not want to interfere with the current locale setting we thusemulate the behavior in the way described above.To maintain compatibility with other platforms, not only the LANG variable is tested, but a list of variables given as envvars parameter.例文帳に追加
Python では現在のロケール設定に干渉したくないので、上で述べたような方法でその挙動をエミュレーションしています。 他のプラットフォームとの互換性を維持するために、環境変数 LANGだけでなく、引数 envvars で指定された環境変数のリストも調べられます。 - Python
Some of them don't convert from Unicode strings to byte strings, but instead use the property of the Pythoncodecs machinery that any bijective function with one argument can be considered as an encoding.For the codecs listed below, the result in the ``encoding'' direction is always a byte string.例文帳に追加
これらの codec の中にはUnicode 文字列からバイト文字列への変換を行わず、むしろ単一の引数をもつ全写像関数はエンコーディングとみなせるというPython codec の性質を利用したものもあります。 以下に列挙した codec では、``エンコード'' 方向の結果は常にバイト文字列方向です。 - 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
The design of all Python's built-in operating system dependentmodules is such that as long as the same functionality is available,it uses the same interface; for example, the function os.例文帳に追加
Python における組み込みのオペレーティングシステム依存モジュールは、同じ機能を利用することができる限り、同じインタフェースを使います; たとえば、os.stat(path) は path についての stat 情報を(たまたま POSIX インタフェースに起源する) 同じ書式で返します。 特定のオペレーティングシステム固有の拡張も os を介して利用することができますが、これらの利用はもちろん、可搬性を脅かします!最初の - Python
Note that the restricted environments can be nested, with inner cells creating subcells of lesser, but never greater, privilege.An interesting aspect of Python's restricted execution model is that the interfaces presented to untrusted code usually have the same names as those presented to trusted code.例文帳に追加
制限された環境は入れ子にすることができ、このとき内側のセルはより縮小されることはあるが決して拡大されることのない特権を持ったサブセルを生成します。 Python の制限実行モデルの興味深い側面は、信頼されないコードに提供されるインタフェースが、信頼されるコードに提供されるそれらと同じ名前を持つということです。 - Python
(And``installer'' is a term specific to the world of mainstream desktopsystems.)A built distribution is how you make life as easy as possible for installers of your module distribution: for users of RPM-based Linux systems, it's a binary RPM; for Windows users, it's an executable installer; for Debian-based Linux users, it's a Debian package; and so forth.例文帳に追加
すでに Python の用語として使っているからです (また、 ``インストーラ''という言葉は主流のデスクトップシステム特有の用語です)ビルド済み配布物は、モジュール配布物をインストール作業者にとってできるだけ簡単な状況にする方法です: ビルド済み配布物は、RPM ベースのLinux システムユーザにとってはバイナリ RPM 、Windows ユーザにとっては実行可能なインストーラ、 Debian ベースの Linux システムでは Debian パッケージ、などといった具合です。 - Python
There are a number of reasons for this,the most important being the early commitment of Python's creator,Guido van Rossum, to providing documentation on the language and its libraries, and the continuing involvement of the user community in providing assistance for creating and maintaining documentation.The involvement of the community takes many forms, from authoring to bug reports to just plain complaining when the documentation could be more complete or easier to use.例文帳に追加
その理由は多々ありますが、最も重要なのは、Python の作者である Guido van Rossum が、言語やそのライブラリのドキュメントの提供と、ドキュメントの作成と維持の手助けする上でのユーザコミュニティの継続的な参加に早期から関わっていたことです。 コミュニティの参加には、バグ報告の作成から、単にドキュメントをより完全で利用しやすいものにできる場合に素朴な提案をするといったことまで、いくつものやりかたがあります。 - Python
| 本サービスで使用している「Wikipedia日英京都関連文書対訳コーパス」はWikipediaの日本語文を独立行政法人情報通信研究機構が英訳したものを、Creative Comons Attribution-Share-Alike License 3.0による利用許諾のもと使用しております。詳細はhttp://creativecommons.org/licenses/by-sa/3.0/ および http://alaginrc.nict.go.jp/WikiCorpus/ をご覧下さい。 |
| この対訳コーパスは独立行政法人情報通信研究機構の研究成果であり、Creative Commons Attribution-Share Alike 3.0 Unportedでライセンスされています。 |
| Copyright 2001-2010 Gentoo Foundation, Inc. The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license. |
| 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会員(無料)になると
|