This function is similar to the exec statement, but parses a file instead of a string. この関数は exec 文に似ていますが、文字列の代わりにファイルに対して構文解釈を行います。 - Python
Creates a Unicode object by decoding size bytes of the encoded string s using the given mapping object. エンコードされた size バイトの文字列 s から mapping に指定されたオブジェクトを使って Unicode オブジェクトを生成します。 - Python
Encodes a Unicode objects using the given mapping object and returns the result as Python string object. Unicode オブジェクトを mapping に指定されたオブジェクトを使ってエンコードし、結果を Python 文字列オブジェクトとして返します。 - Python
Paint the string str at (y, x) with attributes attr, overwriting anything previously on the display. (y, x) に文字列 str を属性 attr で描画します。 以前ディスプレイにあった内容はすべて上書きされます。 - Python
Insert a character string (as many characters as will fit on the line)before the character under the cursor, up to n characters.
文字列をカーソルの下にある文字の前に (一行に収まるだけ) 最大 n 文字挿入します。 - Python
tzinfo.tzname(self),raises an exception if the latter doesn't return None or a string object, 後者の式が None か文字列オブジェクトのいずれかを返さない場合には例外を送出します。 - Python
tzinfo.tzname(None), or raises an exception if the latter doesn't return None or a string object. 後者の式が None か文字列オブジェクトのいずれかを返さない場合には例外を送出します。 - Python
Extract all doctest examples from the given string, and return them as a list of Example objects. 指定した文字列から全ての doctest 例題を抽出し、Example オブジェクトからなるリストにして返します。 - Python
The line number within the string containing this example where the example begins. この例題の入っている文字列中における、例題の実行文のある行のの行番号です。 - Python
Alternatively, you can double each backslash in the doctest version (and not use a raw string): こうする代わりに、(raw docstring を使わずに) doctest 版の中ではバックスラッシュを全て二重にしてもかまいません: - Python
A string giving the complete internal subset from the document.This does not include the brackets which enclose the subset.
ドキュメントの完全な内部サブセットを与える文字列です。 サブセットを囲むブラケットは含みません。 - Python
Return the official copyright string for the current Python version,for example 'Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam'
現在の Python バージョンに対する公式の著作権表示文字列、例えば'Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam'を返します。 - Python
Return a single string consisting of the text after the colon in the first header matching name. name に一致する最初のヘッダにおけるコロン以降のテキストが入った単一の文字列を返します。 - Python
The arguments are the menu to create, the item title string and optionally the keyboard shortcut and a callback routine. 引数は作成するメニューと、アイテムのタイトル文字列、オプションのキーボードショートカット、コールバックルーチンです。 - Python
The returned data is a string containing for each frame the uncompressedsamples of all channels. 返されるデータは、全チャンネルの圧縮されていないサンプルをフレームごとに文字列にしたものです。 - Python
When an array object is printed or converted to a string, it is represented as array(typecode, initializer). アレイオブジェクトを表示したり文字列に変換したりすると、array(typecode, initializer) という形式で表現されます。 - Python
For security purposes, the default is False.The decoded string is returned. セキュリティ上の理由により、デフォルトではこれは False になっています。 デコードされた文字列が返されます。 - Python
Tries to compile source, which should be a string of Python code and return a code object if source is valid Python code. sourceが有効なPythonコードではないが、有効なPythonコードの接頭語である場合には、Noneを返します。 - Python
Append the string s to the MIME header.Optional charset, if given, should be a Charset instance(see
この MIME ヘッダに文字列 s を追加します。 オプション引数 charset がもし与えられた場合、これはCharset インスタンス ( - Python
It skips over all the subpart headers, and it skips over any subpart with a payload that isn't a Python string. サブパートのヘッダはすべて無視され、Python 文字列でないペイロードからなるサブパートも無視されます。 - Python
The return value can either be a string, or a 3-tuple if the parameter wasRFC 2231 encoded. 返り値は文字列か 3 要素のタプルで、タプルになるのはパラメータが RFC 2231 エンコードされている場合です。 - Python
This function reads and decodes the image on the specified file, and returns it as a Python string. この関数は指定されたファイル上の画像を読み出して復号化し、Python 文字列として返します。 - Python
Tests the image data contained in the file named by filename,and returns a string describing the image type.
filenameという名前のファイル内の画像データをテストし、画像形式を表す文字列を返します。 - Python
Each entry in the list must be a string containing the parameter name, an equals sign ("="),and the parameter's value. リスト中の各エントリはパラメタ名を含む文字列、等号 ("=")、およびパラメタの値でなければなりません。 - Python
Call the function (a function or method object, not a string)with the given arguments.
function(関数またはメソッドオブジェクト、文字列ではありません)を与えられた引数とともに呼び出します。 - Python
Without the flags argument a string indicating the current flags is returned (this is the same as the "?" modifier). flags 引数なしの場合、現在のフラグを示す文字列が返されます ("?" 修飾子と同じです) 。 - Python
Exception raised on various occasions; argument is a string describing what is wrong. 様々な状況で送出された例外です; 引数は何が問題かを記述する文字列です。 - Python
Return the size of the struct (and hence of the string)corresponding to the given format.
与えられたフォーマットに対応する構造体のサイズ (すなわち文字列データのサイズ) を返します。 - Python
The first byte stored is the length of the string, or 255, whichever is smaller. このデータの先頭の 1 バイトには文字列の長さか255 のうち、小さい方の数が収められます。 - Python
Return the name of the current default string encoding used by the Unicode implementation.New in version 2.0. 現在のUnicode処理のデフォルトエンコーディング名を返します。 バージョン 2.0 で 新たに追加 された仕様です。 - Python
The version number used to form registry keys on Windows platforms.This is stored as string resource 1000 in the Python DLL.
Windowsプラットフォームで、レジストリのキーとなるバージョン番号。 Python DLLの文字列リソース 1000に設定されています。 - Python
If the string to be parsed has excess data after parsing,ValueError is raised. 解析しようとする文字列が解析後に余分なデータを持っていた場合、ValueError が送出されます。 - Python
The text is a string with leading and trailing whitespace stripped; if the source is not available it is None. textは前と後ろに付いている空白を取り除いた文字列です。 ソースが使えない場合はNoneです。 - Python
Escape "", "", and "" in a string of data.You can escape other strings of data by passing a dictionary as the optional entities parameter. オプションの entities パラメータに辞書を渡すことで、そのほかの文字をエスケープさせることも可能です。 - Python
If more than one group matches (if 'group' is a real wildmat string), return the first match. ('group' が実際には wildmat 文字列で) 複数のグループがマッチした場合、最初にマッチしたものを返します。 - Python
At this point, optparse detects that a previously-added option is already using the "-n" option string. この時点で、optparse はすでに追加済のオプションがオプション文字列 "-n" を使っていることを検出します。 - Python
When optparse sees the option string "-f", it consumes the next argument, "foo.txt", and stores it in options. オプション文字列 "-f" を見つけると、optparse は次の引数である "foo.txt" を消費し、その値を options.filename に保存します。 - Python
The string used to separate (or, rather, terminate) lines on the current platform. 現在のプラットフォーム上で行を分割 (あるいは終端) するために用いられている文字列です。 - Python
Matches if the current position in the string is preceded by a match for ... that ends at the current position. もし文字列内の現在位置の前に、現在位置で終わる ... とのマッチがあれば、マッチします。 - Python
Patterns which start with negative lookbehind assertions may match at the beginning of the string being searched. 否定後読みアサーションで始まるパターンは、検索される文字列の先頭とマッチすることができます。 - Python
Inside a character range, b represents the backspace character, for compatibility with Python's string literals. 文字の範囲の中では、b は、Python の文字列リテラルと互換性を持たせるために、後退(backspace)文字を表します。 - Python
code must be a string containing a Python expression, which will be evaluated in the restricted environment. code は、Python 式を含む文字列でなければなりません。 そして制限された環境で評価されます。 - Python
The string of characters that will accumulate into multi-charactertokens.
複数文字からなるトークンを構成するためにバッファに蓄積していくような文字からなる文字列です。 - Python
A slicing selects a range of items in a sequence object (e.g., a string, tuple or list). スライス表記はシーケンスオブジェクト (文字列、タプルまたはリスト) におけるある範囲の要素を選択します。 - Python
Return a copy of the string converted to lowercase.For 8-bit strings, this method is locale-dependent.
文字列をコピーし、小文字に変換して返します。 8ビット文字列では、メソッドはロケール依存になります。 - Python
This instance of PyTypeObject represents the Python string type; it is the same object as types.TypeType in the Python layer. この PyTypeObject のインスタンスは Python の文字列型を表現します; このオブジェクトは Python レイヤにおけるtypes.TypeType と同じです。 - Python
The modules described in this chapter provide a wide range of string manipulation operations. この章で解説されているモジュールは文字列を操作するさまざまな処理を提供します。 - Python
A subscription selects an item of a sequence (string, tuple or list)or mapping (dictionary) object:
添字表記は、シーケンス (文字列、タプルまたはリスト) やマップ (辞書)オブジェクトから、要素を一つ選択します: - Python
If i or j is negative, the index is relative to the end of the string: len(s) + i i または j が負の数の場合、インデクスは文字列の末端からの相対インデクスになります: len(s) + i - Python
If the KeySym has been rebound (see XRebindKeysym), the bound string will be stored in the buffer. KeySym が再バインドされていた場合(XRebindKeysymを参照)、バインドされている文字列がバッファに格納される。 - XFree86
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.