Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 24 for shutil (0.024 sec.)
11.10. shutil --- 高水準のファイル操作 — Python 3.6.5 ドキュメント 16146
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... » 11. ファイルとディレクトリへのアクセス » 11.10. shutil --- 高水準のファイル操作 ¶ ソースコード: Lib/shuti ... l.py shutil モジュールはファイルやファイルの集まりに対する高水 ... 参照してください。 警告 高水準のファイルコピー関数 ( shutil.copy() , shutil.copy2() ) でも、ファイルのメタデー ... されません。 11.10.1. ディレクトリとファイルの操作 ¶ shutil. copyfileobj ( fsrc , fdst [ , length ] ) ¶ ファイ ...
https://man.plustar.jp/python/library/shutil.html - [similar]
What's New In Python 3.2 — Python 3.6.5 ドキュメント 9007
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... or の単純な使用例です: import concurrent.futures , shutil with concurrent . futures . ThreadPoolExecutor ( m ... ax_workers = 4 ) as e : e . submit ( shutil . copy , 'src1.txt' , 'dest1.txt' ) e . submit ( s ... l . copy , 'src2.txt' , 'dest2.txt' ) e . submit ( shutil . copy , 'src3.txt' , 'dest3.txt' ) e . submit ( s ... 列バージョンです。 (Contributed by Victor Stinner.) shutilshutil.copytree() 関数に新たに 2 つのオプションが ...
https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
17.4. concurrent.futures -- 並列タスク実行 — Python 3.6.5 ドキュメント 8790
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... .shutdown() が呼ばれたかのように待ちます)。 import shutil with ThreadPoolExecutor ( max_workers = 4 ) as e : ... e . submit ( shutil . copy , 'src1.txt' , 'dest1.txt' ) e . submit ( s ... l . copy , 'src2.txt' , 'dest2.txt' ) e . submit ( shutil . copy , 'src3.txt' , 'dest3.txt' ) e . submit ( s ...
https://man.plustar.jp/python/library/concurrent.futures.html - [similar]
10. 標準ライブラリミニツアー — Python 3.6.5 ドキュメント 8640
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 業のために、より簡単に使える高水準のインタフェースが shutil モジュールで提供されています: >>> import shutil >> ... > shutil . copyfile ( 'data.db' , 'archive.db' ) 'archive.d ... b' >>> shutil . move ( '/build/executables' , 'installdir' ) 'in ...
https://man.plustar.jp/python/tutorial/stdlib.html - [similar]
11.11. macpath --- Mac OS 9 のパス操作関数 — Python 3.6.5 ドキュメント 8256
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... e , Foundation , path , 操作 前のトピックへ 11.10. shutil --- 高水準のファイル操作 次のトピックへ 12. データ ...
https://man.plustar.jp/python/library/macpath.html - [similar]
13. データ圧縮とアーカイブ — Python 3.6.5 ドキュメント 8106
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... tar フォーマットのアーカイブ作成をサポートします。 shutil モジュールで提供される アーカイブ化操作 も参照して ...
https://man.plustar.jp/python/library/archiving.html - [similar]
13.2. gzip --- gzip ファイルのサポート — Python 3.6.5 ドキュメント 8106
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 既存のファイルを GZIP 圧縮する例: import gzip import shutil with open ( '/home/joe/file.txt' , 'rb' ) as f_in ... open ( '/home/joe/file.txt.gz' , 'wb' ) as f_out : shutil . copyfileobj ( f_in , f_out ) バイナリ文字列を GZ ...
https://man.plustar.jp/python/library/gzip.html - [similar]
ライブラリと拡張 FAQ — Python 3.6.5 ドキュメント 8023
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... ィレクトリツリー全体とその中身全てを削除したいなら、 shutil.rmtree() を使ってください。 ファイルの名前を変更す ... fd はファイルディスクリプタ (小さい整数値) です。 shutil モジュールにも、 copyfile() 、 copytree() 、 rmtre ... 含まれます。 ファイルをコピーするにはどうしますか? ¶ shutil モジュールには copyfile() 関数があります。なお、Ma ...
https://man.plustar.jp/python/faq/library.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 8023
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... owner を設定したいとします。これは POSIX 環境では shutil.chown() を使って簡単に実現できますが、標準ライブラ ... s ( filename ): open ( filename , 'a' ) . close () shutil . chown ( filename , * owner ) return logging . Fi ... 込んでみます: import logging , logging.config , os , shutil def owned_file_handler ( filename , mode = 'a' , e ... s ( filename ): open ( filename , 'a' ) . close () shutil . chown ( filename , * owner ) return logging . Fi ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
11. ファイルとディレクトリへのアクセス — Python 3.6.5 ドキュメント 8023
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... he --- テキストラインにランダムアクセスする 11.10. shutil --- 高水準のファイル操作 11.10.1. ディレクトリとフ ...
https://man.plustar.jp/python/library/filesys.html - [similar]
PREV 1 2 3 NEXT