Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 60 for copy (0.035 sec.)
8.10. copy --- 浅いコピーおよび深いコピー操作 — Python 3.6.5 ドキュメント 15487
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 8. データ型 » 8.10. copy --- 浅いコピーおよび深いコピー操作 ¶ ソースコード: ... Lib/copy.py Python において代入文はオブジェクトをコピーしま ... ) を提供します。 以下にインタフェースをまとめます: copy. copy ( x ) ¶ x の浅い (shallow) コピーを返します。 ... copy. deepcopy ( x ) ¶ x の深い (deep) コピーを返します ...
https://man.plustar.jp/python/library/copy.html - [similar]
11.10. shutil --- 高水準のファイル操作 — Python 3.6.5 ドキュメント 12273
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ください。 警告 高水準のファイルコピー関数 ( shutil.copy() , shutil.copy2() ) でも、ファイルのメタデータの全 ... ん。 11.10.1. ディレクトリとファイルの操作 ¶ shutil. copyfileobj ( fsrc , fdst [ , length ] ) ¶ ファイル形式 ... 容のみがコピーされることに注意してください。 shutil. copyfile ( src , dst , * , follow_symlinks=True ) ¶ src ... 。対象としてディレクトリ名を指定したい場合は shutil.copy() を参照してください。 src と dst が同じファイルだ ...
https://man.plustar.jp/python/library/shutil.html - [similar]
12.2. copyreg --- pickle サポート関数を登録する — Python 3.6.5 ドキュメント 10615
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 12. データの永続化 » 12.2. copyreg --- pickle サポート関数を登録する ¶ ソースコード ... : Lib/copyreg.py copyreg モジュールは、特定のオブジェクトを p ... 関数を定義する手段を提供します。 pickle モジュールと copy モジュールは、オブジェクトを pickle/コピーする場合 ... ファクトリ関数か、クラスインスタンスかもしれません。 copyreg. constructor ( object ) ¶ object を有効なコンス ...
https://man.plustar.jp/python/library/copyreg.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 9190
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... >>> foo = { 'key' : 'value' } >>> original = foo . copy () >>> with patch . dict ( foo , { 'newkey' : 'new ... (set(),), {}) One possibility would be for mock to copy the arguments you pass in. This could then cause p ... args as the mock. This gives us an opportunity to copy the arguments and store them for later assertions. ... in a helper function sets this up for me. >>> from copy import deepcopy >>> from unittest.mock import Mock ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
9.4. decimal --- 十進固定及び浮動小数点数の算術演算 — Python 3.6.5 ドキュメント 8594
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 両者の符号を無視します。 x.compare_total_mag(y) は x.copy_abs().compare_total(y.copy_abs()) と等価です。 この ... メソッドは十進演算仕様に適合するためだけのものです。 copy_abs ( ) ¶ 引数の絶対値を返します。この演算はコンテ ... 。すなわち、フラグは変更されず、丸めは行われません。 copy_negate ( ) ¶ 引数の符号を変えて返します。この演算は ... 。すなわち、フラグは変更されず、丸めは行われません。 copy_sign ( other , context=None ) ¶ 最初の演算対象のコ ...
https://man.plustar.jp/python/library/decimal.html - [similar]
12.3. shelve --- Python オブジェクトの永続化 — Python 3.6.5 ドキュメント 8230
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ing an existing key) data = d [ key ] # retrieve a COPY of data at key (raise KeyError # if no such key) d ... o code carefully: temp = d [ 'xx' ] # extracts the copy temp . append ( 5 ) # mutates the copy d [ 'xx' ] ... = temp # stores the copy right back, to persist it # or, d=shelve.open(file ... .3.1. 制限事項 12.3.2. 使用例 前のトピックへ 12.2. copyreg --- pickle サポート関数を登録する 次のトピックへ ...
https://man.plustar.jp/python/library/shelve.html - [similar]
18.9. mmap --- メモリマップファイル — Python 3.6.5 ドキュメント 8114
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 読み出し専用、 ACCESS_WRITE は書き込み可能、 ACCESS_COPY はコピーした上での書き込みです。 access は Unix と ... メモリと元のファイルの両方に影響を与えます。 ACCESS_COPY 型のメモリマップへの書き込みはメモリに影響を与えま ... プの種類を指定します。 MAP_PRIVATE はプライベートな copy-on-write(書込み時コピー)のマップを作成します。従っ ... を変更します。もし mmap が ACCESS_READ または ACCESS_COPY で作成されたならば、マップサイズの変更は TypeError ...
https://man.plustar.jp/python/library/mmap.html - [similar]
17.4. concurrent.futures -- 並列タスク実行 — Python 3.6.5 ドキュメント 7998
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... r ( max_workers = 4 ) as e : e . submit ( shutil . copy , 'src1.txt' , 'dest1.txt' ) e . submit ( shutil . ... copy , 'src2.txt' , 'dest2.txt' ) e . submit ( shutil . ... copy , 'src3.txt' , 'dest3.txt' ) e . submit ( shutil . ... copy , 'src4.txt' , 'dest4.txt' ) 17.4.2. ThreadPoolExe ...
https://man.plustar.jp/python/library/concurrent.futures.html - [similar]
12.1. pickle --- Python オブジェクトの直列化 — Python 3.6.5 ドキュメント 7998
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ble ¶ pickler オブジェクトのディスパッチテーブルは copyreg.pickle() を使用して宣言できる種類の reduction f ... オブジェクトは dispatch_table 属性を持たず、代わりに copyreg モジュールによって管理されるグローバルなディスパ ... チテーブルを持つ pickler を作成することができます。 copyreg モジュールによって管理されるグローバルなディスパ ... ッチテーブルは copyreg.dispatch_table として利用可能です。したがって、 ...
https://man.plustar.jp/python/library/pickle.html - [similar]
10. API リファレンス — Python 3.6.5 ドキュメント 7634
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... フラグは mkpath() と同じです。 distutils.dir_util. copy_tree ( src , dst [ , preserve_mode=1 , preserve_ti ... erve_mode と preserve_times は distutils.file_util.copy_file() のものと同じです; それらは通常のファイルにの ... リンクの対象がコピーされます。 update と verbose は copy_file() のものと同じです。 src にあるファイルで .nf ... ーティリティ関数を提供します。 distutils.file_util. copy_file ( src , dst [ , preserve_mode=1 , preserve_ti ...
https://man.plustar.jp/python/distutils/apiref.html - [similar]
PREV 1 2 3 4 5 6 NEXT