Results of 1 - 10 of about 38 for elem (0.008 sec.)
- xml.etree.ElementTree --- ElementTree XML API — Python 3.14.8 ドキュメント 11934
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.etree.ElementTree --- ElementTree XML API テーマ 自動 ライト ダーク | xml.etree.ElementTree --- Elem
...entTree XML API ¶ Source code: Lib/xml/etree/ElementTree.py The xml.etree.ElementTree module implements a simple and efficient API for parsing and creating XML data. バージ...ョン 3.3 で変更: このモジュールは利用出来る場合は常に高速な実装を使用します。 バージョン 3.3 で非推奨: The xml.etree.cElementTree alias of this module is deprecated. 注釈 If you need to parse untrusted or unauthenticated data, see XML security ....チュートリアル ¶ This is a short tutorial for using xml.etree.ElementTree ( ET in short). The goal is to demonstrate some of the building blocks and basic concepts of the module. XML 木構造... - https://man.mtool.work/python/3.14/library/xml.etree.elementtree.html
- xml.etree.ElementTree --- ElementTree XML API — Python 3.14.8 ドキュメント 11934
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.etree.ElementTree --- ElementTree XML API テーマ 自動 ライト ダーク | xml.etree.ElementTree --- Elem
...entTree XML API ¶ Source code: Lib/xml/etree/ElementTree.py The xml.etree.ElementTree module implements a simple and efficient API for parsing and creating XML data. バージ...ョン 3.3 で変更: このモジュールは利用出来る場合は常に高速な実装を使用します。 バージョン 3.3 で非推奨: The xml.etree.cElementTree alias of this module is deprecated. 注釈 If you need to parse untrusted or unauthenticated data, see XML security ....チュートリアル ¶ This is a short tutorial for using xml.etree.ElementTree ( ET in short). The goal is to demonstrate some of the building blocks and basic concepts of the module. XML 木構造... - https://man.mtool.work/python/3.14/library/xml.etree.elementtree.html
- bisect --- 配列二分法アルゴリズム — Python 3.14.8 ドキュメント 11116
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » bisect --- 配列二分法アルゴリズム テーマ 自動 ライト ダーク | bisect --- 配列二分法アルゴリズム ¶ ソースコード: Lib/bise
...して使うのに適しています。 a はすでにソートされているものとします。 返された挿入点 ip パーティションは、左のスライスでは all(elem < x for elem in a[lo : ip]) が真となり、右のスライスでは all(elem >= x for elem in a[ip : hi]) が真となるように、配列 a を...2つのスライスに分割します。 key specifies a key function of one argument that is used to extract a comparison key from each element in the array. To support searching complex records, the key function is not applied to the x value. If key is None , th...e elements are compared directly and no key function is called. バージョン 3.10 で変更: key パラメータが追加されました。 bisect.... - https://man.mtool.work/python/3.14/library/bisect.html
- bisect --- 配列二分法アルゴリズム — Python 3.14.8 ドキュメント 11116
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » bisect --- 配列二分法アルゴリズム テーマ 自動 ライト ダーク | bisect --- 配列二分法アルゴリズム ¶ ソースコード: Lib/bise
...して使うのに適しています。 a はすでにソートされているものとします。 返された挿入点 ip パーティションは、左のスライスでは all(elem < x for elem in a[lo : ip]) が真となり、右のスライスでは all(elem >= x for elem in a[ip : hi]) が真となるように、配列 a を...2つのスライスに分割します。 key specifies a key function of one argument that is used to extract a comparison key from each element in the array. To support searching complex records, the key function is not applied to the x value. If key is None , th...e elements are compared directly and no key function is called. バージョン 3.10 で変更: key パラメータが追加されました。 bisect.... - https://man.mtool.work/python/3.14/library/bisect.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 10283
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...c read of the mutex state and can be called from any thread at any time. Thread safety for list objects ¶ Reading a single element from a list is atomic : lst [ i ] # list.__getitem__ The following methods traverse the list and use atomic reads of ea...mes into a new list lst . copy () # returns a shallow copy of the list The following methods that only operate on a single element with no shifting required are atomic : lst . append ( x ) # append to the end of the list, no shifting required lst . p...op () # pop element from the end of the list, no shifting required The clear() method is also atomic . Other threads cannot observe element... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 10283
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...c read of the mutex state and can be called from any thread at any time. Thread safety for list objects ¶ Reading a single element from a list is atomic : lst [ i ] # list.__getitem__ The following methods traverse the list and use atomic reads of ea...mes into a new list lst . copy () # returns a shallow copy of the list The following methods that only operate on a single element with no shifting required are atomic : lst . append ( x ) # append to the end of the list, no shifting required lst . p...op () # pop element from the end of the list, no shifting required The clear() method is also atomic . Other threads cannot observe element... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- What's New in Python 2.5 — Python 3.14.8 ドキュメント 8868
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature
...more important to Python's user community, I think, because several widely useful packages were added. New modules include ElementTree for XML processing ( xml.etree.ElementTree ), the SQLite database module ( sqlite3 ), and the ctypes module for cal...supplies a function that takes a single argument and is called for every value in the list; min() / max() will return the element with the smallest/largest return value from this function. For example, to find the longest string in a list, you can d...コードを破壊するかもしれないので、必要に応じて警告に出来るよう導入されたのが UnicodeWarning です。 (Implemented by Marc-André Lemburg.) Python プログラマがよくしでかす間違いとして、パッケージディレクトリに __init__.py を入れ忘れる、というものがあります... - https://man.mtool.work/python/3.14/whatsnew/2.5.html
- What's New in Python 2.5 — Python 3.14.8 ドキュメント 8868
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature
...more important to Python's user community, I think, because several widely useful packages were added. New modules include ElementTree for XML processing ( xml.etree.ElementTree ), the SQLite database module ( sqlite3 ), and the ctypes module for cal...supplies a function that takes a single argument and is called for every value in the list; min() / max() will return the element with the smallest/largest return value from this function. For example, to find the longest string in a list, you can d...コードを破壊するかもしれないので、必要に応じて警告に出来るよう導入されたのが UnicodeWarning です。 (Implemented by Marc-André Lemburg.) Python プログラマがよくしでかす間違いとして、パッケージディレクトリに __init__.py を入れ忘れる、というものがあります... - https://man.mtool.work/python/3.14/whatsnew/2.5.html
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 8286
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...= initial_missing ): it = iter ( iterable ) if initial is initial_missing : value = next ( it ) else : value = initial for element in it : value = function ( value , element ) return value 全ての中間値を返すイテレータについては itertools.accumulate()...> @fun . register ... def _ ( arg : list , verbose = False ): ... if verbose : ... print ( "Enumerate this:" ) ... for i , elem in enumerate ( arg ): ... print ( i , elem ) typing.Union can also be used: >>> @fun . register ... def _ ( arg : int | fl...er ... def _ ( arg : Union [ list , set ], verbose = False ): ... if verbose : ... print ( "Enumerate this:" ) ... for i , elem in enumerate ( arg ): ... print ( i , elem ) ... 型アノテーションを使っていないコードについては、デコレータに適切な型引数を... - https://man.mtool.work/python/3.14/library/functools.html
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 8286
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...= initial_missing ): it = iter ( iterable ) if initial is initial_missing : value = next ( it ) else : value = initial for element in it : value = function ( value , element ) return value 全ての中間値を返すイテレータについては itertools.accumulate()...> @fun . register ... def _ ( arg : list , verbose = False ): ... if verbose : ... print ( "Enumerate this:" ) ... for i , elem in enumerate ( arg ): ... print ( i , elem ) typing.Union can also be used: >>> @fun . register ... def _ ( arg : int | fl...er ... def _ ( arg : Union [ list , set ], verbose = False ): ... if verbose : ... print ( "Enumerate this:" ) ... for i , elem in enumerate ( arg ): ... print ( i , elem ) ... 型アノテーションを使っていないコードについては、デコレータに適切な型引数を... - https://man.mtool.work/python/3.14/library/functools.html