Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 31 - 40 of about 164 for sys (0.062 sec.)
30.1. code --- インタプリタ基底クラス — Python 3.6.5 ドキュメント 6075
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... InteractiveInterpreter を元に作られていて、通常の sys.ps1 と sys.ps2 をつかったプロンプト出力と入力バッフ ... ile_command() がコードオブジェクトを返した場合。 ( SystemExit を除く実行時例外も処理する) runcode() を呼び ... False を返します。 戻り値は、次の行のプロンプトに sys.ps1 か sys.ps2 のどちらを使うのか判断するために使え ... ack() が呼び出されます。伝搬することが許されている SystemExit を除くすべての例外が捉えられます。 Keyboard ...
https://man.plustar.jp/python/library/code.html - [similar]
11.3. fileinput --- 複数の入力ストリームをまたいだ行の繰り返し処理をサポートする... 6018
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... nput . input (): process ( line ) このプログラムは sys.argv[1:] に含まれる全てのファイルをまたいで繰り返し ... ます。もし該当するものがなければ、 sys.stdin がデフォルトとして扱われます。ファイル名とし ... て '-' が与えられた場合も、 sys.stdin に置き換えられます。別のファイル名リストを使 ... 出されました; それは現在 OSError のエイリアスです。 sys.stdin が2回以上使われた場合は、2回目以降は行を返し ...
https://man.plustar.jp/python/library/fileinput.html - [similar]
31.1. zipimport --- Zip アーカイブからモジュールを import する — Python 3.6.5 ... 6018
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 明示的に使う必要はありません; 組み込みの import は、 sys.path の要素が ZIP アーカイブへのパスを指している場 ... 合にこのモジュールを自動的に使います。 普通、 sys.path はディレクトリ名の文字列からなるリストです。こ ... のモジュールを使うと、 sys.path の要素に ZIP ファイルアーカイブを示す文字列を ... n Python 2.3 (#1, Aug 1 2003, 19:54:32) >>> import sys >>> sys.path.insert(0, 'example.zip') # Add .zip f ...
https://man.plustar.jp/python/library/zipimport.html - [similar]
16.4. argparse --- コマンドラインオプション、引数、サブコマンドのパーサー — Pyt... 5972
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... な引数を必要としているのかを定義すると、 argparse が sys.argv からそのオプションを解析する方法を見つけ出しま ... 通常引数なしで呼び出され、 ArgumentParser は自動的に sys.argv からコマンドライン引数を取得します。 16.4.2. ... すが、簡単に言うと: prog - プログラム名 (デフォルト: sys.argv[0] ) usage - プログラムの利用方法を記述する文 ... ジェクトはヘルプメッセージ中に表示するプログラム名を sys.argv[0] から取得します。 このデフォルトの動作は、プ ...
https://man.plustar.jp/python/library/argparse.html - [similar]
27.2. faulthandler --- Python tracebackのダンプ — Python 3.6.5 ドキュメント 5972
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... に表示されます。 デフォルトでは、Pythonのtracebackは sys.stderr に書き出されます。tracebackを見るには、対象 ... backのダンプ ¶ faulthandler. dump_traceback ( file=sys.stderr , all_threads=True ) ¶ 全スレッドのtracebac ... ォールトハンドラの状態 ¶ faulthandler. enable ( file=sys.stderr , all_threads=True ) ¶ フォールトハンドラを ... mp_traceback_later ( timeout , repeat=False , file=sys.stderr , exit=False ) ¶ timeout 秒経過後か、 repea ...
https://man.plustar.jp/python/library/faulthandler.html - [similar]
16.14. platform --- 実行中プラットフォームの固有情報を参照する — Python 3.6.5 ... 5972
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ラットフォーム ¶ platform. architecture ( executable=sys.executable , bits='' , linkage='' ) ¶ executable で ... インタプリタが "64-bit" であるかどうかを調べるには、 sys.maxsize の方が信頼できます: is_64bits = sys . maxs ... 。たとえば、SunOS は Solaris となります。この機能は system_alias() で実装されています。 terse が真なら、プ ... 'major.minor.patchlevel' 形式の文字列で返します。 sys.version と異なり、patchlevel(デフォルトでは0)も必 ...
https://man.plustar.jp/python/library/platform.html - [similar]
35.6. termios --- POSIX スタイルの端末制御 — Python 3.6.5 ドキュメント 5972
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... イル記述子 fd を最初の引数としてとります。この値は、 sys.stdin.fileno() が返すような整数のファイル記述子でも ...sys.stdin 自体のような file object でもかまいません。 ... etpass ( prompt = "Password: " ): import termios , sys fd = sys . stdin . fileno () old = termios . tcget ...
https://man.plustar.jp/python/library/termios.html - [similar]
28.4. zipapp --- 実行可能な python zip 書庫を管理する — Python 3.6.5 ドキュメン... 5972
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ve a suitable version of Python installed on their system. The key to doing this is to bundle all of the ... ccompiler import new_compiler >>> import distutils.sysconfig >>> import sys >>> import os >>> from pathli ... src . stem >>> cc . add_include_dir ( distutils . sysconfig . get_python_inc ()) >>> cc . add_library_di ... r ( os . path . join ( sys . base_exec_prefix , 'libs' )) >>> # First the CLI ...
https://man.plustar.jp/python/library/zipapp.html - [similar]
用語集 — Python 3.6.5 ドキュメント 5926
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » 用語集 ¶ >>> インタ ... モード ( 'rb' , 'wb' or 'rb+' ) で開かれたファイル、 sys.stdin.buffer 、 sys.stdout.buffer 、 io.BytesIO や ... Python 3.3 以降では 2 種類のファインダがあります。 sys.meta_path で使用される meta path finder と、 sys.p ... ath entry ) のリスト。 import 中、このリストは通常 sys.path から来ますが、サブパッケージの場合は親パッケー ... , collections.Counter などです。 meta path finder sys.meta_path を検索して得られた finder . meta path fi ...
https://man.plustar.jp/python/glossary.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 5926
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... andler which writes INFO messages or higher to the sys.stderr console = logging . StreamHandler () consol ... っておきます: #!/usr/bin/env python import socket , sys , struct with open ( sys . argv [ 1 ], 'rb' ) as f ... ic applied - just do it! except Exception : import sys , traceback print ( 'Whoops! Problem:' , file = sy ... s . stderr ) traceback . print_exc ( file = sys . stderr ) # Arrays used for random selections in ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 NEXT