per page, with , order by , clip by
Results of 1 - 10 of about 60 for binary (0.004 sec.)
faulthandler --- Python トレースバックをダンプする 17174
faulthandler --- Python トレースバックをダンプする Added in version 3.3. このモジュールには、Python のトレースバックを明示的にダンプしたり、フォールトの発生時、タイムアウト後、ユーザーシグナルの受信時にダンプしたりする関数があります。 SIGSE ... t__.py", line 486 in string_at File "<stdin>", line 1 in <module> Current thread's C stack trace (most recent call first): Binary file "/opt/python/python", at _Py_DumpStack+0x42 [0x5b27f7d7147e] Binary file "/opt/python/python", at +0x32dcbd [0x5b27f7 ... d85cbd] Binary file "/opt/python/python", at +0x32df8a [0x5b27f7d85f8a] Binary file "/usr/lib/libc.so.6", at +0x3def0 [0x77b73226bef0] Bi ... nary file "/usr/lib/libc.so.6", at +0x17ef9c [0x77b7323acf9c] Binary file "/opt/python/build/lib.linux-x86_64-3.14/_ctypes.cpython-314d-x86_64-linux-gnu.so", at +0xcdf6 [0x77b7315dddf6] Binar ...
https://man.mtool.work/python/3.14/library/faulthandler.html
リモートデバッグのアタッチプロトコル 10644
リモートデバッグのアタッチプロトコル このプロトコルを使うと、外部ツールから実行中の CPython プロセスにアタッチし、Python コードをリモートで実行できます。 別の Python プロセスへのアタッチには、プラットフォームによって追加の権限や設定が必要な ... sign --sign - --entitlements get-task-allow.plist path/to/bin/python3 where path/to/bin/python3 is the path to your Python binary, which you can find by e.g. running which python3 or evaluating sys.base_executable at the Python REPL. (These instruction ... s address can't be hardcoded or calculated from a symbol name, because it depends on where the operating system loaded the binary. PyRuntime の位置を特定する方法はプラットフォームによって異なりますが、大まかな手順は共通です。 対象プロセスで Python のバ ... 実装例を示します。 def find_py_runtime_linux ( pid : int ) -> int : # Step 1: Try to find the Python executable in memory binary_path , base_address = find_mapped_binary ( pid , name_contains = "python" ) # Step 2: Fallback to shared library if execut ...
https://man.mtool.work/python/3.14/howto/remote_debugging.html
plistlib --- Apple .plist ファイルを生成・解析する 8754
plistlib --- Apple .plist ファイルを生成・解析する ソースコード: Lib/plistlib.py このモジュールは Apple (主に macOS と iOS) で使われる「プロパティーリスト」ファイルを読み書きするインターフェイスを提供します。このモジュールはバイナリと XML の ... 返します。 fmt はファイルの形式で、次の値が有効です。 None : ファイル形式を自動検出します FMT_XML : XML ファイル形式です FMT_BINARY : バイナリの plist 形式です dict_type は、 plist ファイルから読み出された辞書に使われる型です。 aware_datetime が真の場合、 ... mt 引数は plist ファイルの形式を指定し、次のいずれかの値をとることができます。 FMT_XML : XML 形式の plist ファイルです FMT_BINARY : バイナリ形式の plist ファイルです sort_keys が真 (デフォルト) の場合、辞書内のキーは、plist にソートされた順序で書き込ま ... version 3.8. 以下の定数が利用可能です: plistlib. FMT_XML plist ファイルの XML 形式です Added in version 3.4. plistlib. FMT_BINARY plist ファイルのバイナリ形式です Added in version 3.4. このモジュールは次の例外を定義しています。 exception plistlib. Inva ...
https://man.mtool.work/python/3.14/library/plistlib.html
xmlrpc.client --- XML-RPC クライアントアクセス 8579
xmlrpc.client --- XML-RPC クライアントアクセス ソースコード: Lib/xmlrpc/client.py XML-RPCはXMLを利用した遠隔手続き呼び出し(Remote Procedure Call)の一種で、HTTP(S)をトランスポートとして使用します。XML- RPCでは、クライアントはリモートサーバ(U ... ime.iso8601 DateTime または datetime.datetime 。返される型は use_builtin_types および use_datetime の値に依ります。 base64 Binary 、 bytes または bytearray 。返される型は use_builtin_types フラグの値に依ります。 nil None 定数。 allow_none が真の場合にの ... リクエストはwell-formedなXMLとはなりません。そのようなバイト列を渡す必要がある場合は、 bytes , bytearray クラスまたは後述の Binary ラッパークラスを使用してください。 Server は、後方互換性の為に ServerProxy の別名として残されています。新しいコードでは Se ... . strptime ( today . value , "%Y%m %d T%H:%M:%S" ) print ( f "Today: { converted . strftime ( ' %d .%m.%Y, %H:%M' ) } " ) Binary オブジェクト class xmlrpc.client. Binary このクラスは、バイト列データ(NULを含む)で初期化することができます。 Binary の内容 ...
https://man.mtool.work/python/3.14/library/xmlrpc.client.html
email.policy: ポリシーオブジェクト 8507
email.policy : ポリシーオブジェクト Added in version 3.3. ソースコード: Lib/email/policy.py email パッケージの主な目的は、メールや MIME に関する各種 RFC に従ってメールメッセージを扱うことです。 しかし、メールの一般的な形式はメール以外の用途 ... ァイルから電子メールメッセージを読み込み、Unix システムの sendmail プログラムに渡します: >>> from email import message_from_binary_file >>> from email.generator import BytesGenerator >>> from email import policy >>> from subprocess import Popen , PIPE > ... >> with open ( 'mymsg.txt' , 'rb' ) as f : ... msg = message_from_binary_file ( f , policy = policy . default ) ... >>> p = Popen ([ 'sendmail' , msg [ 'To' ] . addresses [ 0 ]], stdin = PIPE ) > ... る必要はありません。 ヘッダ内のデータは依然として ASCII のみに制限されるためエンコードされますが (例外については以下の fold_binary() と utf8 を参照)、本体の各部分では 8bit の CTE を使えます。 文字列はバイナリデータを含められないため、 cte_type の値 8bit ...
https://man.mtool.work/python/3.14/library/email.policy.html
Pythonモジュール索引 8332
Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ __future__ Future statement definitions __main__ The environment where top-level code is run. Covers command-line i ... nterfaces, import-time behavior, and ``__name__ == '__main__'``. _thread Low-level threading API. _tkinter A binary module that contains the low-level interface to Tcl/Tk. a abc Abstract base classes according to :pep:`3119`. aifc 非推奨: ... 8: Base16, Base32, Base64 Data Encodings; Base85 and Ascii85 bdb Debugger framework. binascii Tools for converting between binary and various ASCII-encoded binary representations. bisect Array bisection algorithms for binary searching. builtins The mod ... elib Support for template string literals. stringprep String preparation, as per RFC 3453 struct Interpret bytes as packed binary data. subprocess Subprocess management. sunau 非推奨: Removed in 3.13. symtable Interface to the compiler's internal symbo ...
https://man.mtool.work/python/3.14/py-modindex.html
importlib.resources -- パッケージリソースの読み取り、オープン、アクセス 7925
importlib.resources -- パッケージリソースの読み取り、オープン、アクセス ソースコード: Lib/importlib/resources/__init__.py Added in version 3.7. このモジュールは Python のインポートシステムを利用し、 パッケージ 内の リソース にアクセスする機 ... 構成要素ではパスの区切り文字にスラッシュ ( / ) を使ってください。 例えば、次の 2 つは等価です。 importlib . resources . read_binary ( my_module , "pics/painting.png" ) importlib . resources . read_binary ( my_module , "pics" , "painting.png" ) 後方互換性 ... 。 importlib . resources . read_text ( my_module , "info" , "chapter1.txt" , encoding = 'utf-8' ) importlib.resources. open_binary ( anchor , * path_names ) 指定した名前のリソースを、バイナリとして読み取るために開きます。 anchor と path_names の詳細は 冒 ... 頭の説明 を参照してください。 この関数は BinaryIO オブジェクト、つまり読み取り用に開いたバイナリストリームを返します。 この関数はおおむね次と等価です。 files ( anchor ) . ...
https://man.mtool.work/python/3.14/library/importlib.resources.html
Python 言語リファレンス 7678
Python 言語リファレンス このリファレンスマニュアルは、Python 言語の構文と中核となる意味論を説明します。 簡潔な記述ですが、正確で網羅的であることを目指しています。 組み込みのオブジェクト型と関数については Python 組み込み機能リファレンス で説 ... べき乗演算 (power operator) 6.6. 単項算術演算とビット単位演算 (unary arithmetic and bitwise operation) 6.7. 二項算術演算 (binary arithmetic operation) 6.8. シフト演算 (shifting operation) 6.9. ビット単位演算の二項演算 (binary bitwise operation) 6.10. ...
https://man.mtool.work/python/3.14/reference/
fcntl --- fcntl および ioctl システムコール 7518
fcntl --- fcntl および ioctl システムコール このモジュールはファイル記述子に対するファイル制御と I/O 制御を行います。 Unix の fcntl() と ioctl() ルーチンへのインターフェイスです。 詳細は Unix のマニュアルページ fcntl(2) と ioctl(2) を参照し ... arg が整数の場合、C の fcntl() 呼び出しの整数の返り値を返します。 When the argument is bytes-like object, it represents a binary structure, for example, created by struct.pack() . A string value is encoded to binary using the UTF-8 encoding. The binar ...
https://man.mtool.work/python/3.14/library/fcntl.html
7. Input and Output 7431
7. Input and Output プログラムの出力方法にはいくつかの種類があります。 データを人間が読める形で出力することもあれば、将来使うためにファイルに書くこともあります。 この章では、こうした幾つかの出力の方法について話します。 7.1. Fancier Output F ... 8" is recommended unless you know that you need to use a different encoding. Appending a 'b' to the mode opens the file in binary mode . Binary mode data is read and written as bytes objects. You can not specify encoding when opening file in binary mod ... file だとすると、次のように書くことができます: json . dump ( x , f ) 逆にデシリアライズするには、 f が読み込み用に開かれた binary file か text file だとすると、次のようになります: x = json . load ( f ) 注釈 JSON files must be encoded in UTF-8. Use enco ...
https://man.mtool.work/python/3.14/tutorial/inputoutput.html
PREV 1 2 3 4 5 6 NEXT