Results of 1 - 10 of about 44 for diff (0.006 sec.)
- difflib --- 差分の計算の補助 — Python 3.14.8 ドキュメント 14169
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » difflib --- 差分の計算の補助 テーマ 自動 ライト ダーク | difflib --- 差分の計算の補助 ¶ ソースコード: Lib/diff
...aring sequences. Most of them compare sequences of text lines (for example lists of strings, or file objects ) and produce diffs -- reports on the differences. Diffs can be produced in various formats, including HTML and context and unified diffs --...formats produced by tools like diff and git diff . Comparisons are done using a matching algorithm implemented in SequenceMatcher -- a flexible class for comp...aring pairs of sequences of any type, not just text, so long as the sequence elements are hashable . Junk heuristic ¶ difflib uses a junk heuristic: some items are deemed to be junk , and ignored when searching for similarities. Ideally, these a... - https://man.mtool.work/python/3.14/library/difflib.html
- difflib --- 差分の計算の補助 — Python 3.14.8 ドキュメント 14169
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » difflib --- 差分の計算の補助 テーマ 自動 ライト ダーク | difflib --- 差分の計算の補助 ¶ ソースコード: Lib/diff
...aring sequences. Most of them compare sequences of text lines (for example lists of strings, or file objects ) and produce diffs -- reports on the differences. Diffs can be produced in various formats, including HTML and context and unified diffs --...formats produced by tools like diff and git diff . Comparisons are done using a matching algorithm implemented in SequenceMatcher -- a flexible class for comp...aring pairs of sequences of any type, not just text, so long as the sequence elements are hashable . Junk heuristic ¶ difflib uses a junk heuristic: some items are deemed to be junk , and ignored when searching for similarities. Ideally, these a... - https://man.mtool.work/python/3.14/library/difflib.html
- filecmp --- ファイルとディレクトリの比較 — Python 3.14.8 ドキュメント 9497
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » filecmp --- ファイルとディレクトリの比較 テーマ 自動 ライト ダーク | filecmp --- ファイルとディ
...ons to compare files and directories, with various optional time/correctness trade-offs. For comparing files, see also the difflib module. The filecmp module defines the following functions: filecmp. cmp ( f1 , f2 , shallow = True ) ¶ 名前が f1 および..., and modification time) of both files are identical, the files are taken to be equal. Otherwise, the files are treated as different if their sizes or contents differ. 可搬性と効率のために、この関数は外部プログラムを一切呼び出さないので注意してくださ...ラーを報告するような名前です。 same_files ¶ クラスのファイル比較オペレータを用いて a と b の両方において同一のファイルです。 diff_files ¶ a と b の両方に存在し、クラスのファイル比較オペレータに基づいて内容が異なるファイルです。 funny_files ¶ a および b... - https://man.mtool.work/python/3.14/library/filecmp.html
- filecmp --- ファイルとディレクトリの比較 — Python 3.14.8 ドキュメント 9497
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » filecmp --- ファイルとディレクトリの比較 テーマ 自動 ライト ダーク | filecmp --- ファイルとディ
...ons to compare files and directories, with various optional time/correctness trade-offs. For comparing files, see also the difflib module. The filecmp module defines the following functions: filecmp. cmp ( f1 , f2 , shallow = True ) ¶ 名前が f1 および..., and modification time) of both files are identical, the files are taken to be equal. Otherwise, the files are treated as different if their sizes or contents differ. 可搬性と効率のために、この関数は外部プログラムを一切呼び出さないので注意してくださ...ラーを報告するような名前です。 same_files ¶ クラスのファイル比較オペレータを用いて a と b の両方において同一のファイルです。 diff_files ¶ a と b の両方に存在し、クラスのファイル比較オペレータに基づいて内容が異なるファイルです。 funny_files ¶ a および b... - https://man.mtool.work/python/3.14/library/filecmp.html
- ipaddress --- IPv4/IPv6 操作ライブラリ — Python 3.14.8 ドキュメント 8621
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » ipaddress --- IPv4/IPv6 操作ライブラリ テーマ 自動 ライト ダーク | ipaddress --- IPv4/IPv6 操作
...できます。 比較演算子 ¶ Address objects can be compared with the usual set of comparison operators. Same IPv6 addresses with different scope zone IDs are not equal. Some examples: >>> IPv4Address ( '127.0.0.2' ) > IPv4Address ( '127.0.0.1' ) True >>> I...192.0.2.8/29'), IPv4Network('192.0.2.4/30'), IPv4Network('192.0.2.2/31'), IPv4Network('192.0.2.0/32')] subnets ( prefixlen_diff = 1 , new_prefix = None ) ¶ The subnets that join to make the current network definition, depending on the argument values.... prefixlen_diff is the amount our prefix length should be increased by. new_prefix is the desired new prefix of the subnets; it must be la... - https://man.mtool.work/python/3.14/library/ipaddress.html
- ipaddress --- IPv4/IPv6 操作ライブラリ — Python 3.14.8 ドキュメント 8621
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » ipaddress --- IPv4/IPv6 操作ライブラリ テーマ 自動 ライト ダーク | ipaddress --- IPv4/IPv6 操作
...できます。 比較演算子 ¶ Address objects can be compared with the usual set of comparison operators. Same IPv6 addresses with different scope zone IDs are not equal. Some examples: >>> IPv4Address ( '127.0.0.2' ) > IPv4Address ( '127.0.0.1' ) True >>> I...192.0.2.8/29'), IPv4Network('192.0.2.4/30'), IPv4Network('192.0.2.2/31'), IPv4Network('192.0.2.0/32')] subnets ( prefixlen_diff = 1 , new_prefix = None ) ¶ The subnets that join to make the current network definition, depending on the argument values.... prefixlen_diff is the amount our prefix length should be increased by. new_prefix is the desired new prefix of the subnets; it must be la... - https://man.mtool.work/python/3.14/library/ipaddress.html
- random --- 疑似乱数を生成する — Python 3.14.8 ドキュメント 7822
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » random --- 疑似乱数を生成する テーマ 自動 ライト ダーク | random --- 疑似乱数を生成する ¶ ソースコード: Lib/
...得するため、自分で Random のインスタンスを生成することができます。 Class Random can also be subclassed if you want to use a different basic generator of your own devising: see the documentation on that class for more details. The random module also pr...it is possible that they will receive the same return value. This can be avoided in three ways. 1) Have each thread use a different instance of the random number generator. 2) Put locks around all calls. 3) Use the slower, but thread-safe normalvari..., bytearray に制限されています。 Subclasses of Random should override the following methods if they wish to make use of a different basic generator: seed ( a = None , version = 2 ) ¶ Override this method in subclasses to customise the seed() behavio... - https://man.mtool.work/python/3.14/library/random.html
- random --- 疑似乱数を生成する — Python 3.14.8 ドキュメント 7822
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » random --- 疑似乱数を生成する テーマ 自動 ライト ダーク | random --- 疑似乱数を生成する ¶ ソースコード: Lib/
...得するため、自分で Random のインスタンスを生成することができます。 Class Random can also be subclassed if you want to use a different basic generator of your own devising: see the documentation on that class for more details. The random module also pr...it is possible that they will receive the same return value. This can be avoided in three ways. 1) Have each thread use a different instance of the random number generator. 2) Put locks around all calls. 3) Use the slower, but thread-safe normalvari..., bytearray に制限されています。 Subclasses of Random should override the following methods if they wish to make use of a different basic generator: seed ( a = None , version = 2 ) ¶ Override this method in subclasses to customise the seed() behavio... - https://man.mtool.work/python/3.14/library/random.html
- tracemalloc --- メモリ割り当ての追跡 — Python 3.14.8 ドキュメント 7684
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » tracemalloc --- メモリ割り当ての追跡 テーマ 自動 ライト ダーク | tracemalloc --- メモリ割り当ての追跡 ¶ A
.... snapshot2 = tracemalloc . take_snapshot () top_stats = snapshot2 . compare_to ( snapshot1 , 'lineno' ) print ( "[ Top 10 differences ]" ) for stat in top_stats [: 10 ]: print ( stat ) Python テストスイートのテストを実行する前後の出力例です: [ Top 1...0 differences ] < frozen importlib . _bootstrap > : 716 : size = 8173 KiB ( + 4428 KiB ), count = 71332 ( + 39369 ), average = 11...y_type : str , cumulative : bool = False ) ¶ 古いスナップショットとの差を計算します。 key_type でグループ化された StatisticDiff インスタンスのソート済みリストとして統計を取得します。 key_type および cumulative 引数については Snapshot.statistics() メソ... - https://man.mtool.work/python/3.14/library/tracemalloc.html
- tracemalloc --- メモリ割り当ての追跡 — Python 3.14.8 ドキュメント 7684
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » tracemalloc --- メモリ割り当ての追跡 テーマ 自動 ライト ダーク | tracemalloc --- メモリ割り当ての追跡 ¶ A
.... snapshot2 = tracemalloc . take_snapshot () top_stats = snapshot2 . compare_to ( snapshot1 , 'lineno' ) print ( "[ Top 10 differences ]" ) for stat in top_stats [: 10 ]: print ( stat ) Python テストスイートのテストを実行する前後の出力例です: [ Top 1...0 differences ] < frozen importlib . _bootstrap > : 716 : size = 8173 KiB ( + 4428 KiB ), count = 71332 ( + 39369 ), average = 11...y_type : str , cumulative : bool = False ) ¶ 古いスナップショットとの差を計算します。 key_type でグループ化された StatisticDiff インスタンスのソート済みリストとして統計を取得します。 key_type および cumulative 引数については Snapshot.statistics() メソ... - https://man.mtool.work/python/3.14/library/tracemalloc.html