Results of 1 - 10 of about 321 for R (0.010 sec.)
- itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 10657
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » itertools --- 効率的なループ用のイテレータ生成関数群 テーマ 自動 ライト ダーク | itertools --- 効
...独でも組合せても使用することのできるツールを標準化したものです。同時に、このツール群は "イテレータの代数" を構成していて、pure Python で簡潔かつ効率的なツールを作れるようにしています。 例えば、SML の作表ツール tabulate(f) は f(0), f(1), ... のシーケ...ンスを作成します。同じことを Python では map() と count() を組合せて map(f, count()) という形で実現できます。 General iterators: イテレータ 引数 結果 使用例 accumulate() p [,func] p0, p0+p1, p0+p1+p2, ... accumulate([1,2,3,4,5]) → 1 3 6 1...ched('ABCDEFG', n=3) → ABC DEF G chain() p, q, ... p0, p1, ... plast, q0, q1, ... chain('ABC', 'DEF') → A B C D E F chain.from_iterable() iterable p0, p1, ... plast, q0, q1, ... chain.from_iterable(['ABC', 'DEF']) → A B C D E F compress() data, se... - https://man.mtool.work/python/3.14/library/itertools.html
- itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 10601
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » itertools --- 効率的なループ用のイテレータ生成関数群 テーマ 自動 ライト ダーク | itertools --- 効
...独でも組合せても使用することのできるツールを標準化したものです。同時に、このツール群は "イテレータの代数" を構成していて、pure Python で簡潔かつ効率的なツールを作れるようにしています。 例えば、SML の作表ツール tabulate(f) は f(0), f(1), ... のシーケ...ンスを作成します。同じことを Python では map() と count() を組合せて map(f, count()) という形で実現できます。 General iterators: イテレータ 引数 結果 使用例 accumulate() p [,func] p0, p0+p1, p0+p1+p2, ... accumulate([1,2,3,4,5]) → 1 3 6 1...ched('ABCDEFG', n=3) → ABC DEF G chain() p, q, ... p0, p1, ... plast, q0, q1, ... chain('ABC', 'DEF') → A B C D E F chain.from_iterable() iterable p0, p1, ... plast, q0, q1, ... chain.from_iterable(['ABC', 'DEF']) → A B C D E F compress() data, se... - https://man.mtool.work/python/3.14/library/itertools.html
- re --- 正規表現操作 — Python 3.14.8 ドキュメント 9529
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » re --- 正規表現操作 テーマ 自動 ライト ダーク | re --- 正規表現操作 ¶ ソースコード: Lib/re/ このモジュールは
...Perl に見られる正規表現マッチング操作と同様のものを提供します。 パターンおよび検索される文字列には、Unicode 文字列 ( str ) や...ばならないからです。 Python の文字列リテラルにおいて、バックスラッシュの使用による不正なエスケープ文字がある場合は、 SyntaxWarning が発生し、将来的には SyntaxError になることにも注意してください。この動作は、正規表現として有効な文字列に対しても同様で...す。 これを解決するには、正規表現パターンに Python の raw 文字列記法を使います。 'r' を前置した文字列リテラル内ではバックスラッシュが特別扱いされません。従って "\n" が改行一文字か... - https://man.mtool.work/python/3.14/library/re.html
- re --- 正規表現操作 — Python 3.14.8 ドキュメント 9529
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » re --- 正規表現操作 テーマ 自動 ライト ダーク | re --- 正規表現操作 ¶ ソースコード: Lib/re/ このモジュールは
...Perl に見られる正規表現マッチング操作と同様のものを提供します。 パターンおよび検索される文字列には、Unicode 文字列 ( str ) や...ばならないからです。 Python の文字列リテラルにおいて、バックスラッシュの使用による不正なエスケープ文字がある場合は、 SyntaxWarning が発生し、将来的には SyntaxError になることにも注意してください。この動作は、正規表現として有効な文字列に対しても同様で...す。 これを解決するには、正規表現パターンに Python の raw 文字列記法を使います。 'r' を前置した文字列リテラル内ではバックスラッシュが特別扱いされません。従って "\n" が改行一文字か... - https://man.mtool.work/python/3.14/library/re.html
- Regular expression HOWTO — Python 3.14.8 ドキュメント 7440
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Regular expression HOWTO テーマ 自動 ライト ダーク | Regular expression HOWTO ¶ Author : A.M. Kuchling < amk @ amk . ca > 概要 このドキュメントは
...チュートリアルです。ライブラリレファレンスの正規表現の節よりもやさしい入門ドキュメントを用意しています。 はじめに ¶ 正規表現 regular expressions (REs や regexes または regex patterns と呼ばれます) は本質的に小さく、Python 内部に埋め込まれた高度に特化...したプログラミング言語で re モジュールから利用可能です。この小さな言語を利用することで、マッチさせたい文字列に適合するような文字列の集合を指定すること...いた方がいいでしょう; Python コードは念入りに作られた正規表現より遅くなりますが、おそらくより読み易いでしょう。 Simple patterns ¶ まずはできるだけ簡単な正規表現を学ぶことから始めてみましょう。正規表現は文字列の操作に使われるので、ますは最も一般的な... - https://man.mtool.work/python/3.14/howto/regex.html
- Regular expression HOWTO — Python 3.14.8 ドキュメント 7440
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Regular expression HOWTO テーマ 自動 ライト ダーク | Regular expression HOWTO ¶ Author : A.M. Kuchling < amk @ amk . ca > 概要 このドキュメントは
...チュートリアルです。ライブラリレファレンスの正規表現の節よりもやさしい入門ドキュメントを用意しています。 はじめに ¶ 正規表現 regular expressions (REs や regexes または regex patterns と呼ばれます) は本質的に小さく、Python 内部に埋め込まれた高度に特化...したプログラミング言語で re モジュールから利用可能です。この小さな言語を利用することで、マッチさせたい文字列に適合するような文字列の集合を指定すること...いた方がいいでしょう; Python コードは念入りに作られた正規表現より遅くなりますが、おそらくより読み易いでしょう。 Simple patterns ¶ まずはできるだけ簡単な正規表現を学ぶことから始めてみましょう。正規表現は文字列の操作に使われるので、ますは最も一般的な... - https://man.mtool.work/python/3.14/howto/regex.html
- デスクリプタ ガイド — Python 3.14.8 ドキュメント 7283
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を
...プタがどのようなメカニズムで動作しているのかを紹介します。多くの人はこのレベルの理解は不要でしょう。 The last section has pure Python equivalents for built-in descriptors that are written in C. Read this if you're curious about how functions turn i...nto bound methods or about the implementation of common tools like @classmethod , @staticmethod , @property , and __slots__ . 入門 ¶ この入門で...礎的なところから開始し、新しい要素を一つずつ紹介していきます。 シンプルな例: 定数を返すデスクリプタ ¶ The Ten class is a descriptor whose __get__() method always returns the constant 10 : class Ten : def __get__ ( self , obj , objtype = None ): retu... - https://man.mtool.work/python/3.14/howto/descriptor.html
- デスクリプタ ガイド — Python 3.14.8 ドキュメント 7283
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を
...プタがどのようなメカニズムで動作しているのかを紹介します。多くの人はこのレベルの理解は不要でしょう。 The last section has pure Python equivalents for built-in descriptors that are written in C. Read this if you're curious about how functions turn i...nto bound methods or about the implementation of common tools like @classmethod , @staticmethod , @property , and __slots__ . 入門 ¶ この入門で...礎的なところから開始し、新しい要素を一つずつ紹介していきます。 シンプルな例: 定数を返すデスクリプタ ¶ The Ten class is a descriptor whose __get__() method always returns the constant 10 : class Ten : def __get__ ( self , obj , objtype = None ): retu... - https://man.mtool.work/python/3.14/howto/descriptor.html
- 2. 字句解析 — Python 3.14.8 ドキュメント 6960
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens
..., generated by the lexical analyzer (also known as the tokenizer ). This chapter describes how the lexical analyzer produces these...tokens. The lexical analyzer determines the program text's encoding (UTF-8 by default), and decodes the text into source characters . If the text canno...t be decoded, a SyntaxError is raised. Next, the lexical analyzer uses the source characters to generate a stream of tokens. The type of a generate... - https://man.mtool.work/python/3.14/reference/lexical_analysis.html
- 2. 字句解析 — Python 3.14.8 ドキュメント 6960
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens
..., generated by the lexical analyzer (also known as the tokenizer ). This chapter describes how the lexical analyzer produces these...tokens. The lexical analyzer determines the program text's encoding (UTF-8 by default), and decodes the text into source characters . If the text canno...t be decoded, a SyntaxError is raised. Next, the lexical analyzer uses the source characters to generate a stream of tokens. The type of a generate... - https://man.mtool.work/python/3.14/reference/lexical_analysis.html