per page, with , order by , clip by
Results of 1 - 10 of about 25 for form (0.007 sec.)
unicodedata --- Unicode データベース 15658
unicodedata --- Unicode データベース This module provides access to the Unicode Character Database (UCD) which defines character properties for all Unicode characters. The data contained in this database is compiled from the UCD version 16. ... rns 0 if no combining class is defined. See the Canonical Combining Class Values section of the Unicode Character Database for more information. unicodedata. east_asian_width ( chr ) Returns the east asian width assigned to the character chr as strin ... g. For a list of widths and or more information, see the Unicode Standard Annex #11 . unicodedata. mirrored ( chr ) 文字 chr に割り当てられた鏡像プロパティを整数で返 ... 空文字列を返します。 例えば次のようになります。 >>> unicodedata . decomposition ( 'Ã' ) '0041 0303' unicodedata. normalize ( form , unistr ) Unicode 文字列 unistr の正規形 form を返します。 form の有効な値は、'NFC'、'NFKC'、'NFD'、'NFKD' です。 Unicode ...
https://man.mtool.work/python/3.14/library/unicodedata.html
urllib.parse --- URL を構成要素に解析する 9597
urllib.parse --- URL を構成要素に解析する ソースコード: Lib/urllib/parse.py このモジュールでは URL (Uniform Resource Locator) 文字列をその構成要素 (アドレススキーム、ネットワーク上の位置、パスその他) に分解したり、構成要素を URL に組みなおし ... URL (base URL)" に基づいて絶対 URL に変換するための標準的なインターフェースを定義しています。 このモジュールは Relative Uniform Resource Locators (相対 URL) に関するインターネット RFC に適合するよう設計されており、次の URL スキームをサポートしています ... , errors = 'replace' , max_num_fields = None , separator = '&' ) 文字列引数として渡されたクエリ文字列 ( application/x-www-form-urlencoded 型のデータ) を解析します。解析されたデータを辞書として返します。辞書のキーは一意なクエリ変数名で、値は各変数名に ... , errors = 'replace' , max_num_fields = None , separator = '&' ) 文字列引数として渡されたクエリ文字列 ( application/x-www-form-urlencoded 型のデータ) を解析します。解析されたデータは名前と値のペアからなるリストです。 任意の引数 keep_blank_values は、 ...
https://man.mtool.work/python/3.14/library/urllib.parse.html
email.utils: 各種ユーティリティ 9332
email.utils : 各種ユーティリティ ソースコード: Lib/email/utils.py email.utils モジュールには、いくつかの便利なユーティリティがあります: email.utils. localtime ( dt = None ) Return local time as an aware datetime object. If called without ar ... ョン 3.13 で変更: オプションのパラメータ strict が追加され、デフォルトで不正な入力を拒否するようになりました。 email.utils. formataddr ( pair , charset = 'utf-8' ) The inverse of parseaddr() , this takes a 2-tuple of the form (realname, email_address) ... 加されました。 email.utils. getaddresses ( fieldvalues , * , strict = True ) This function returns a list of 2-tuples of the form returned by parseaddr() . fieldvalues is a sequence of header field values as might be returned by Message.get_all() . str ... ( date ) Attempts to parse a date according to the rules in RFC 2822 Section 3.3 . However, some mailers don't follow that format as specified, so parsedate() tries to guess correctly in such cases. date is a string containing an RFC 2822 date, such ...
https://man.mtool.work/python/3.14/library/email.utils.html
ssl --- ソケットオブジェクト用の TLS/SSL ラッパー 9332
ssl --- ソケットオブジェクト用の TLS/SSL ラッパー Source code: Lib/ssl.py このモジュールは、クライアント側とサーバー側の両方のネットワークソケットで Transport Layer Security (「Secure Sockets Layer」としてもよく知られています) による暗号化と ... ドレスを拒否すると、ハンドシェイクを早期に中断し、相手に TLS アラートメッセージを送ります。 SSLSocket. getpeercert ( binary_form = False ) 接続先に証明書が無い場合、 None を返します。SSL ハンドシェイクがまだ行われていない場合は、 ValueError が送出され ... ます。 binary_form が False で接続先から証明書を取得した場合、このメソッドは dict のインスタンスを返します。証明書が認証されていない場合、辞書 ... ' , 'hostmaster@eff.org' ),)), 'subjectAltName' : (( 'DNS' , '*.eff.org' ), ( 'DNS' , 'eff.org' )), 'version' : 3 } binary_form 引数が True だった場合、証明書が渡されていればこのメソッドはDERエンコードされた証明書全体をバイト列として返し、接続先が証明 ...
https://man.mtool.work/python/3.14/library/ssl.html
http.client --- HTTP プロトコルクライアント 9066
http.client --- HTTP プロトコルクライアント ソースコード: Lib/http/client.py このモジュールでは HTTP および HTTPS プロトコルのクライアントサイドを実装しているクラスを定義しています。通常、このモジュールは直接使いません --- urllib.request モ ... it a host and optional port number. If no port number is passed, the port is extracted from the host string if it has the form host:port , else the default HTTP port (80) is used. If the optional timeout parameter is given, blocking operations (like ... の URL、主にリダイレクトが発生したかどうかを確認するために利用します。 HTTPResponse. headers Headers of the response in the form of an email.message.EmailMessage instance. HTTPResponse. status サーバから返される状態コードです。 HTTPResponse. reason サ ... ncode ({ '@number' : 12524 , '@type' : 'issue' , '@action' : 'show' }) >>> headers = { "Content-type" : "application/x-www-form-urlencoded" , ... "Accept" : "text/plain" } >>> conn = http . client . HTTPConnection ( "bugs.python.org" ) >>> conn . req ...
https://man.mtool.work/python/3.14/library/http.client.html
urllib.request --- URL を開くための拡張可能なライブラリ 8817
urllib.request --- URL を開くための拡張可能なライブラリ ソースコード: Lib/urllib/request.py urllib.request モジュールは、Basic 認証や Digest 認証、リダイレクト、Cookie などが絡む複雑な状況で URL (主に HTTP) を開くための関数とクラスを定義して ... n URLError and propagate unchanged. These include subclasses of http.client.HTTPException , such as BadStatusLine for a malformed status line, and subclasses of OSError , such as TimeoutError if the server does not respond within timeout seconds, or ... .1 節で規定された Transfer-Encoding: chunked を使います。 HTTP POST リクエストメソッドでは data は標準の application/x-www-form-urlencoded 形式のバッファーでなければなりません。 urllib.parse.urlencode() 関数は、マップ型あるいは 2 タプルのシーケンスを ... ーを含めてください。 このヘッダーが指定されておらず、 data が None でない場合、デフォルトで Content-Type: application/x-www-form-urlencoded が追加されます。 次の2つの引数は、サードパーティの HTTP クッキーを正しく扱いたい場合にのみ関係してきます: origi ...
https://man.mtool.work/python/3.14/library/urllib.request.html
正規表現 HOWTO 8285
正規表現 HOWTO Author : A.M. Kuchling < amk @ amk . ca > 概要 このドキュメントは re モジュールを使って Python で正規表現を扱うための導入のチュートリアルです。ライブラリレファレンスの正規表現の節よりもやさしい入門ドキュメントを用意しています ... nd search() return None if no match can be found. If they're successful, a match object instance is returned, containing information about the match: where it starts and ends, the substring it matched, and more. re モジュールを対話的に試すと理解が深ま ... >>> iterator = p . finditer ( '12 drummers drumming, 11 ... 10 ...' ) >>> iterator <callable_iterator object at 0x...> >>> for match in iterator : ... print ( match . span ()) ... (0, 2) (22, 24) (29, 31) モジュールレベルの関数 You don't have to crea ... ります; 読み易いと思いませんか? charref = re . compile ( r """ &[#] # Start of a numeric entity reference ( 0[0-7]+ # Octal form | [0-9]+ # Decimal form | x[0-9a-fA-F]+ # Hexadecimal form ) ; # Trailing semicolon """ , re . VERBOSE ) 冗長な表現を利用し ...
https://man.mtool.work/python/3.14/howto/regex.html
4. 実行モデル 8285
4. 実行モデル 4.1. プログラムの構造 Python プログラムはコードブロックから構成されます。 ブロック ( block ) は、一つのまとまりとして実行される Python プログラムテキストの断片です。 モジュール、関数本体、そしてクラス定義はブロックであり、対話 ... 構造的パターンマッチングのキャプチャパターン内。 import 文. type 文。 型パラメータのリスト 。 The import statement of the form from ... import * binds all names defined in the imported module, except those beginning with an underscore. This form may ...
https://man.mtool.work/python/3.14/reference/executionmodel.html
array --- 効率的な数値配列 8020
array --- 効率的な数値配列 This module defines an object type which can compactly represent an array of basic values: characters, integers, floating-point numbers. Arrays are mutable sequence types and behave very much like lists, except th ... icode 文字列を得るには、 array.tobytes().decode(enc) を使ってください。 The string representation of array objects has the form array(typecode, initializer) . The initializer is omitted if the array is empty, otherwise it is a Unicode string if the t ...
https://man.mtool.work/python/3.14/library/array.html
difflib --- 差分の計算の補助 8020
difflib --- 差分の計算の補助 ソースコード: Lib/difflib.py このモジュールはシーケンスを比較するクラスと関数を提供します。 その多くは、テキスト行のシーケンス (文字列のリストや ファイルオブジェクト など) を比較し、相違点を報告する 差分 (diff) ... 反転したものが異なる場合があります。 By default, if the second input sequence is at least 200 items long, items that account for more than 1% it are considered junk . データによっては、このヒューリスティックを無効にする ( SequenceMatcher の autojunk 引 ... > for tag , i1 , i2 , j1 , j2 in s . get_opcodes (): ... print ( ' {:7} a[ {} : {} ] --> b[ {} : {} ] {!r:>8} --> {!r} ' . format ( ... tag , i1 , i2 , j1 , j2 , a [ i1 : i2 ], b [ j1 : j2 ])) delete a[0:1] --> b[0:0] 'q' --> '' equal a[1:3] --> b[0: ... ): t = dt . datetime . fromtimestamp ( os . stat ( path ) . st_mtime , dt . timezone . utc ) return t . astimezone () . isoformat () def main (): parser = argparse . ArgumentParser () parser . add_argument ( '-c' , action = 'store_true' , default = F ...
https://man.mtool.work/python/3.14/library/difflib.html
PREV 1 2 3 NEXT