Results of 1 - 10 of about 16 for points (0.005 sec.)
- importlib.metadata -- パッケージメタデータへのアクセス 15058
- importlib.metadata -- パッケージメタデータへのアクセス Added in version 3.8. バージョン 3.10 で変更: importlib.metadata は暫定的なものではなくなりました。 ソースコード: Lib/importlib/metadata/__init__.py importlib.metadata は、インストール済
...サブクラスです。 関数 API 本パッケージは、公開APIを通じて以下の機能を提供します。 エントリポイント importlib.metadata. entry_points ( ** select_params ) 現在の環境のエントリポイントを表す EntryPoints インスタンスを返します。 指定されたキーワード引数はすべ...) メソッドに渡され、個々のエントリポイント定義の属性と比較されます。 Note: it is not currently possible to query for entry points based on their EntryPoint.dist attribute (as different Distribution instances do not currently compare equal, even if they...have the same attributes) class importlib.metadata. EntryPoints インストール済みのエントリポイントのコレクションの詳細を表します。 見つかったすべてのエントリポイントのグループを返す .gro... - https://man.mtool.work/python/3.14/library/importlib.metadata.html
- インタープリタの初期化と終了処理 9790
- インタープリタの初期化と終了処理 初期化前にインタープリタを設定する方法の詳細は、 Python の初期化設定 を参照してください。 Python の初期化前 Python を組み込むアプリケーションでは、一部の関数と グローバルな設定変数 を除き、ほかの Python/C AP
...) 次に属します: Stable ABI . Return the program name set with PyConfig.program_name , or the default. The returned string points into static storage; the caller should not modify its value. This function should not be called before Py_Initialize() , o...variables; for example, if the program name is '/usr/local/bin/python' , the prefix is '/usr/local' . The returned string points into static storage; the caller should not modify its value. This corresponds to the prefix variable in the top-level Make...ables; for example, if the program name is '/usr/local/bin/python' , the exec-prefix is '/usr/local' . The returned string points into static storage; the caller should not modify its value. This corresponds to the exec_prefix variable in the top-level... - https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
- os.path --- 一般的なパス名操作 8872
- os.path --- 一般的なパス名操作 ソースコード: Lib/genericpath.py , Lib/posixpath.py (POSIX) 、 Lib/ntpath.py (Windows) 。 このモジュールはパス名を扱う際に便利な関数を実装しています。ファイルの読み書きをする際は open() を、ファイルシステムにア
...t device than path , or whether path /.. and path point to the same i-node on the same device --- this should detect mount points for all Unix and POSIX variants. It is not able to reliably detect bind mounts on the same filesystem. On Linux systems, i...t will always return True for btrfs subvolumes, even if they aren't mount points. On Windows, a drive letter root and a share UNC are always mount points, and for any other path GetVolumePathName is call... - https://man.mtool.work/python/3.14/library/os.path.html
- xml.dom.minidom --- 最小限の DOM の実装 8716
- xml.dom.minidom --- 最小限の DOM の実装 ソースコード: Lib/xml/dom/minidom.py xml.dom.minidom は Document Object Model インターフェースの最小限の実装で、他の言語の実装と同様の API を備えています。 完全な DOM より単純で、大幅に小さい実装を目指
...: handleSlide ( slide ) def handleSlide ( slide ): handleSlideTitle ( slide . getElementsByTagName ( "title" )[ 0 ]) handlePoints ( slide . getElementsByTagName ( "point" )) def handleSlideshowTitle ( title ): print ( f "<title> { getText ( title . chi...odes ) } </title>" ) def handleSlideTitle ( title ): print ( f "<h2> { getText ( title . childNodes ) } </h2>" ) def handlePoints ( points ): print ( "<ul>" ) for point in points : handlePoint ( point ) print ( "</ul>" ) def handlePoint ( point ): prin... - https://man.mtool.work/python/3.14/library/xml.dom.minidom.html
- stringprep --- インターネットの文字列調製 8560
- stringprep --- インターネットの文字列調製 ソースコード: Lib/stringprep.py (ホスト名のような) インターネット上にある存在に識別名をつける際、しばしば識別名間の "等価性" 比較を行う必要があります。厳密には、例えば大小文字の区別をするかしないかい
...ト利用) かどうか判定します。 stringprep. in_table_c4 ( code ) code がテーブル C.4 (非文字コードポイント: non-character code points) かどうか判定します。 stringprep. in_table_c5 ( code ) code がテーブル C.5 (サロゲートコード) に含まれるかどうかを判定しま... - https://man.mtool.work/python/3.14/library/stringprep.html
- string --- 一般的な文字列操作 8248
- string --- 一般的な文字列操作 ソースコード: Lib/string/__init__.py 参考 テキストシーケンス型 --- str 文字列メソッド 文字列定数 このモジュールで定義されている定数は以下の通りです: string. ascii_letters 後述の ascii_lowercase と ascii_upperca
...) '123456789.123,456,79' >>> '{:,._}' . format ( 123456789.123456789 ) '123,456,789.123_456_79' パーセントを表示する: >>> points = 19 >>> total = 22 >>> 'Correct answers: {:.2%} ' . format ( points / total ) 'Correct answers: 86.36%' 型特有の書式指定を... - https://man.mtool.work/python/3.14/library/string.html
- tokenize --- Python ソース用のトークナイザー 8248
- tokenize --- Python ソース用のトークナイザー ソースコード: Lib/tokenize.py The tokenize module provides a lexical scanner for Python source code, implemented in Python. The scanner in this module returns comments as tokens as well, making i
...clusive start position of the token in the source. Rows are numbered from 1 and columns from 0. Columns count Unicode code points; a tab counts as one column, without expanding it to a tab stop. For an ENCODING token, this is (0, 0) . end A 2-tuple (er... - https://man.mtool.work/python/3.14/library/tokenize.html
- 1. Extending Python with C or C++ 8092
- 1. Extending Python with C or C++ It is quite easy to add new built-in modules to Python, if you know how to program in C. Such extension modules can do two things that can't be done directly in Python: they can implement new built-in objec
...passed to the C function. The C function always has two arguments, conventionally named self and args . The self argument points to the module object for module-level functions; for a method it would point to the object instance. The args argument wil...ied to the local variable command . This is a pointer assignment and you are not supposed to modify the string to which it points (so in Standard C, the variable command should properly be declared as const char *command ). The next statement is a call... - https://man.mtool.work/python/3.14/extending/extending.html
- 型オブジェクトの構造体 7936
- 型オブジェクトの構造体 新しい型を定義する PyTypeObject 構造体は、Python のオブジェクトシステムで特に重要な構造体の 1 つです。 型オブジェクトは PyObject_* 関数や PyType_* 関数で扱えますが、ほとんどの Python アプリケーションにとって関心のある
...he PyObject_HEAD_INIT macro. Note that for statically allocated type objects , the type's instances (objects whose ob_type points back to the type) do not count as references. But for dynamically allocated type objects , the instances do count as refer..., if an object supports weak references via the tp_weaklist slot, the pointer supporting the linked list (what tp_weaklist points to) must not be visited as the instance does not directly own the weak references to itself (the weakreference list is the... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- shutil --- 高水準のファイル操作 7936
- shutil --- 高水準のファイル操作 ソースコード: Lib/shutil.py shutil モジュールは、ファイルやファイルの集合に対するさまざまな高水準の操作を提供します。 特に、ファイルのコピーや削除を行う関数が用意されています。 個々のファイルを操作する場合は
...separator, such as 'link/' , the operating system resolves the link, so rmtree() deletes the contents of the directory it points to and then fails to remove path itself. pathlib.Path strips trailing separators, so rmtree(Path('link/')) refuses the lin... - https://man.mtool.work/python/3.14/library/shutil.html