Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 121 - 130 of about 214 for FILE (0.103 sec.)
33.1. formatter --- 汎用の出力書式化機構 — Python 3.6.5 ドキュメント 4790
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... されたことを示します。 class formatter. DumbWriter ( file=None , maxcol=72 ) ¶ 単純な writer クラスで file... 渡された ファイルオブジェクト か file が省略された場合には標準出力に出力を書き込みます。 ...
https://man.plustar.jp/python/library/formatter.html - [similar]
24.3. shlex --- 単純な字句解析 — Python 3.6.5 ドキュメント 4790
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 以下のイディオムは安全ではないかもしれません: >>> filename = 'somefile; rm -rf ~' >>> command = 'ls -l {} ... ' . format ( filename ) >>> print ( command ) # executed by a shell: ... boom! ls -l somefile; rm -rf ~ quote() がそのセキュリティホールをふさぎ ... ます: >>> command = 'ls -l {} ' . format ( quote ( filename )) >>> print ( command ) ls -l 'somefile; rm - ...
https://man.plustar.jp/python/library/shlex.html - [similar]
16. 付録 — Python 3.6.5 ドキュメント 4790
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... ファイル名に設定します。この機能は Unix シェルの .profile に似ています。 このファイルは対話セッションのときだ ... ローバルのスタートアップファイルの中に if os.path.isfile('.pythonrc.py'): exec(open('.pythonrc.py').read()) ... プト中で明示的に実行しなければなりません: import os filename = os . environ . get ( 'PYTHONSTARTUP' ) if fi ... lename and os . path . isfile ( filename ): with open ( filename ) as fobj : sta ...
https://man.plustar.jp/python/tutorial/appendix.html - [similar]
What's New in Python 2.6 — Python 3.6.5 ドキュメント 4790
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... オブジェクトと同じです。これはファイルオブジェクトの file.__enter__() が self を返しているからです。 threadi ... n >>> print ( '# of entries' , len ( dictionary ), file = sys . stderr ) この新しい関数のシグネチャは以下の ... す: def print ( * args , sep = ' ' , end = ' \n ' , file = None ) パラメータは以下のとおりです: args : 出力 ... 数リスト args を全て出力したあとに出力するテキスト。 file : 出力が送られるファイルオブジェクト。 参考 PEP 31 ...
https://man.plustar.jp/python/whatsnew/2.6.html - [similar]
16.4. argparse --- コマンドラインオプション、引数、サブコマンドのパーサー — Pyt... 4759
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ss=argparse.HelpFormatter , prefix_chars='-' , fromfile_prefix_chars=None , argument_default=None , confli ... の引数の prefix になる文字集合 (デフォルト: '-') fromfile_prefix_chars - 追加の引数を読み込むファイルの pref ... o オプションが使用できなくなります。 16.4.2.8. fromfile_prefix_chars ¶ ときどき、例えば非常に長い引数リスト ... があります。 ArgumentParser のコンストラクターに fromfile_prefix_chars= 引数が渡された場合、指定された文字の ...
https://man.plustar.jp/python/library/argparse.html - [similar]
18.8. signal --- 非同期イベントにハンドラを設定する — Python 3.6.5 ドキュメント 4759
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ix。 signal. set_wakeup_fd ( fd ) ¶ Set the wakeup file descriptor to fd . When a signal is received, the ... processed. The old wakeup fd is returned (or -1 if file descriptor wakeup was not enabled). If fd is -1, f ...
https://man.plustar.jp/python/library/signal.html - [similar]
21.21. socketserver --- ネットワークサーバのフレームワーク — Python 3.6.5 ドキ... 4759
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... server_address and RequestHandlerClass attributes. fileno ( ) ¶ Return an integer file descriptor for the ... he setup() and finish() methods, and provide self.rfile and self.wfile attributes. The self.rfile and self ... .wfile attributes can be read or written, respectively, t ... he request data or return data to the client. The rfile attributes of both classes support the io.Buffered ...
https://man.plustar.jp/python/library/socketserver.html - [similar]
13.6. tarfile --- tar アーカイブファイルの読み書き — Python 3.6.5 ドキュメント 4759
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 13. データ圧縮とアーカイブ » 13.6. tarfile --- tar アーカイブファイルの読み書き ¶ ソースコード ... : Lib/tarfile.py tarfile モジュールは、gzip、bz2、および lzma 圧 ... を読み書きできます。 .zip ファイルの読み書きには zipfile モジュールか、あるいは shutil の高水準関数を使用し ... ジョン 3.3 で変更: lzma 圧縮をサポートしました。 tarfile. open ( name=None , mode='r' , fileobj=None , bufs ...
https://man.plustar.jp/python/library/tarfile.html - [similar]
29.5. warnings --- 警告の制御 — Python 3.6.5 ドキュメント 4759
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... た。 warnings. warn_explicit ( message , category , filename , lineno , module=None , registry=None , modul ... ローバル名前空間でなければなりません (この引数は zipfile やその他の非ファイルシステムのインポート元の中にあ ... した。 warnings. showwarning ( message , category , filename , lineno , file=None , line=None ) ¶ 警告をファ ... 。標準の実装では、 formatwarning(message, category, filename, lineno, line) を呼び出し、返された文字列を fi ...
https://man.plustar.jp/python/library/warnings.html - [similar]
変更履歴 — Python 3.6.5 ドキュメント 4759
Filter entries by content:', ' ', ' ' ].join('\n')); function dofilter() { try { var query = new ... メント » What's New in Python » 変更履歴 ¶ The NEWS file is not available. 関連キーワード: 変更 , 履歴 , ド ...
https://man.plustar.jp/python/whatsnew/changelog.html - [similar]