Results of 1 - 10 of about 33 for Convert (0.006 sec.)
- html.parser --- HTML と XHTML のシンプルなパーサー 15433
- html.parser --- HTML と XHTML のシンプルなパーサー ソースコード: Lib/html/parser.py このモジュールでは HTMLParser クラスを定義します。このクラスは HTML (ハイパーテキスト記述言語、HyperText Mark-up Language) および XHTML で書式化されているテ
...キストファイルを解釈するための基礎となります。 class html.parser. HTMLParser ( * , convert_charrefs = True , scripting = False ) 不正なマークアップをパースできるパーサーインスタンスを作成します。 convert_charrefs...に内側で明示的に閉じられていないタグ要素のタグ終了ハンドラーを呼び出したりはしません。 バージョン 3.4 で変更: キーワード引数 convert_charrefs を追加。 バージョン 3.5 で変更: convert_charrefs のデフォルト値は True になりました。 バージョン 3.14.1 で変更: s...形式の名前付き文字参照 ( > など) を処理するために呼び出されます。 name は一般実体参照 ( 'gt' など) です。 このメソッドは convert_charrefs が偽の場合にだけ呼び出されます。 HTMLParser. handle_charref ( name ) このメソッドは、 &# NNN ; 形式と &#x NNN ; 形... - https://man.mtool.work/python/3.14/library/html.parser.html
- sqlite3 --- SQLite データベース用の DB-API 2.0 インターフェース 10315
- sqlite3 --- SQLite データベース用の DB-API 2.0 インターフェース ソースコード: Lib/sqlite3/ SQLite は、軽量なディスク上のデータベースを提供する C ライブラリです。別のサーバプロセスを用意する必要なく、 SQL クエリー言語の非標準的な一種を使用し
...秒です。 detect_types ( int ) -- SQLite がネイティブにサポートしていないデータ型 を Python の型へ変換するために、 register_converter() で登録された変換関数を検索するかどうかと、その方法を制御します。 有効にするには、 PARSE_DECLTYPES と PARSE_COLNAMES の...ジェクトを唯一の引数として使用して呼び出され、 SQLite がネイティブに理解する型 の値を返す必要があります。 sqlite3. register_converter ( typename , converter , / ) converter 呼び出し可能オブジェクト を登録して、 typename 型の SQLite オブジェクトを指定の型...の Python オブジェクトに変換します。変換関数(converter)、 typename 型のすべての SQLite 値に対して呼び出されます。 変換関数には bytes オブジェクトが渡され、目的の Python 型のオ... - https://man.mtool.work/python/3.14/library/sqlite3.html
- 引数の解釈と値の構築 10043
- 引数の解釈と値の構築 これらの関数は、独自の拡張関数やメソッドを作成するときに便利です。 追加の情報や例は Python インタプリタの拡張と埋め込み を参照してください。 最初に説明する 3 つの関数、 PyArg_ParseTuple() , PyArg_ParseTupleAndKeywords()
...-like objects をサポートしません。 ファイルシステムパスを受け取って C 言語の文字列に変換したい場合は、 O& フォーマットを、 converter に PyUnicode_FSConverter() を指定して利用すると良いです。 バージョン 3.5 で変更: 以前は Python 文字列に null コードポイン...signed char] 負でない Python 整数を小さい符号なし整数に変換し、C の unsigned char に格納します。 B ( int ) [unsigned char] Convert a Python integer to a tiny integer without overflow checking, stored in a C unsigned char . h ( int ) [short int] Python の...整数を、 C の short int 型に変換します。 H ( int ) [unsigned short int] Convert a Python integer to a C unsigned short int , without overflow checking. i ( int ) [int] Python の整数を、 C の int 型に変換... - https://man.mtool.work/python/3.14/c-api/arg.html
- uu --- uuencode ファイルのエンコードとデコード 10043
- uu --- uuencode ファイルのエンコードとデコード バージョン 3.11 で非推奨、バージョン 3.13 で削除. このモジュールは今や Python 標準ライブラリの一部ではありません。このモジュールは Python 3.11 で非推奨となったあと、 Python 3.13 で削除 されまし
...ページ PHP imap_utf7_decode() PHP base64_encode() PHP base64_decode() PHP imap_utf7_encode() PHP mb_decode_mimeheader() PHP convert_uuencode()... - https://man.mtool.work/python/3.14/library/uu.html
- string.templatelib --- テンプレート文字列リテラルのサポート 9240
- string.templatelib --- テンプレート文字列リテラルのサポート ソースコード: Lib/string/templatelib.py 参考 フォーマット済み文字列リテラル テンプレート文字列リテラル(t-string)の構文 PEP 750 テンプレート文字列 Added in version 3.14. テンプレート
...Template を 処理する コードが、 conversion の解釈方法と適用するかどうかを決めることが想定されています。 便利な機能として、 convert() 関数で f 文字列の変換の動作を再現できます。 format_spec : str 値に適用する書式指定。 format_spec は、値を表示する際の書式...ずれかです。 format_spec -- 値を表示する際の 書式指定 として使う、省略可能な任意の文字列。 ヘルパー関数 string.templatelib. convert ( obj , / , conversion ) 指定したオブジェクト obj に、フォーマット済み文字列リテラルの 変換 と同じ処理を適用します。 テンプ... - https://man.mtool.work/python/3.14/library/string.templatelib.html
- Pythonモジュール索引 9240
- 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
...3. b base64 RFC 4648: 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...he liblzma compression library. m mailbox Manipulate mailboxes in various formats mailcap 非推奨: Removed in 3.13. marshal Convert Python objects to streams of bytes and back (with different constraints). math Mathematical functions (sin() etc.). mimety...em paths pathlib.types pathlib types for static type checking pdb The Python debugger for interactive interpreters. pickle Convert Python objects to streams of bytes and back. pickletools Contains extensive comments about the pickle protocols and pickle... - https://man.mtool.work/python/3.14/py-modindex.html
- argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー 8422
- argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー Added in version 3.2. ソースコード: Lib/argparse.py 注釈 argparse は基本的なコマンドラインアプリケーションの実装に推奨される標準ライブラリのモジュールですが、動作を厳密
...([ '-f' , 'foo' , '@args.txt' ]) Namespace(f='bar') デフォルトでは、ファイルから読み込む引数は 1 行に一つずつ記述します ( convert_arg_line_to_args() も参照してください)。 読み込んだ引数は、コマンドラインでそのファイルを指定した引数の位置にあるものとして...それらの文字列を float , int など別の型として扱うべき事がよくあります。 add_argument() の type キーワード引数に指定する type converter により、必要な型チェックと型変換を行うことができます。 もし type キーワードが default キーワードとともに使用された場合、...default の値が文字列のときのみ、type converter による変換などが行われます。 type には、一つの文字列を受け取る呼び出し可能オブジェクト、または登録済みの型の名前 ( regis... - https://man.mtool.work/python/3.14/library/argparse.html
- binascii --- バイナリ と ASCII 間の変換 8165
- binascii --- バイナリ と ASCII 間の変換 binascii モジュールは、バイナリデータと、ASCII でエンコードされたさまざまなバイナリ表現との間で変換するための関数を提供します。 通常はこれらの関数を直接使わず、 base64 などのラッパーモジュールを使いま
...ない。 バージョン 3.11 で変更: strict_mode パラメーターが追加されました。 binascii. b2a_base64 ( data , * , newline = True ) Convert binary data to a line of ASCII characters in base64 coding. The return value is the converted line, including a newline ch... - https://man.mtool.work/python/3.14/library/binascii.html
- Function オブジェクト 7893
- Function オブジェクト Functionオブジェクト固有の関数はわずかです。 type PyFunctionObject 関数に使われるCの構造体。 In the free-threaded build, direct access to mutable fields requires synchronization if another thread may modify the functio
...コードで任意の別のオブジェクトに設定できます。 In the free-threaded build, if the attribute may be modified concurrently, convert the borrowed reference to a strong reference with Py_XNewRef() immediately, before calling any other Python API. The same... - https://man.mtool.work/python/3.14/c-api/function.html
- glob --- Unix 形式のパス名のパターン展開 7893
- glob --- Unix 形式のパス名のパターン展開 ソースコード: Lib/glob.py glob モジュールは、Unix シェルに似たパターンマッチの規則を使ってパス名を探します。 チルダ展開は行いませんが、 * 、 ? 、 [] で表す文字の範囲は正しくマッチします。 実際にサブシ
...返します。 Added in version 3.4. glob. translate ( pathname , * , recursive = False , include_hidden = False , seps = None ) Convert the given path specification to a regular expression for use with re.match() . The path specification can contain shell-st... - https://man.mtool.work/python/3.14/library/glob.html