Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 56 for parser (0.036 sec.)
16.4. argparse --- コマンドラインオプション、引数、サブコマンドのパーサー — Pyt... 13467
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 最大値を返す Python プログラムです: import argparse parser = argparse . ArgumentParser ( description = 'Proce ... ss some integers.' ) parser . add_argument ( 'integers' , metavar = 'N' , type ... = '+' , help = 'an integer for the accumulator' ) parser . add_argument ( '--sum' , dest = 'accumulate' , a ... sum the integers (default: find the max)' ) args = parser . parse_args () print ( args . accumulate ( args . ...
https://man.plustar.jp/python/library/argparse.html - [similar]
Argparse チュートリアル — Python 3.6.5 ドキュメント 11374
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argp ... い、とても簡単な例から始めましょう: import argparse parser = argparse . ArgumentParser () parser . parse_args ... 位置引数の入門 ¶ 以下に例を示します: import argparse parser = argparse . ArgumentParser () parser . add_argume ... nt ( "echo" ) args = parser . parse_args () print ( args . echo ) このコードを ... ッセージ分かりやすくしてみましょう: import argparse parser = argparse . ArgumentParser () parser . add_argume ...
https://man.plustar.jp/python/howto/argparse.html - [similar]
36.1. optparse --- コマンドラインオプション解析器 — Python 3.6.5 ドキュメント 11345
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 的なスタイルのコマンドライン解析手法、すなわち OptionParser のインスタンスを作成してオプションを追加してゆき、 ... プトの例を以下に示します: from optparse import OptionParser ... parser = OptionParser () parser . add_option ( ... help = "write report to FILE" , metavar = "FILE" ) parser . add_option ( "-q" , "--quiet" , action = "store_ ... status messages to stdout" ) ( options , args ) = parser . parse_args () このようにわずかな行数のコードによ ...
https://man.plustar.jp/python/library/optparse.html - [similar]
19.1.2. email.parser: 電子メールメッセージのパース — Python 3.6.5 ドキュメント 11139
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... メールと MIME 処理のためのパッケージ » 19.1.2. email.parser : 電子メールメッセージのパース ¶ ソースコード: Lib ... /email/parser.py Message object structures can be created in one ... ail message. The email package provides a standard parser that understands most email document structures, i ... ncluding MIME documents. You can pass the parser a bytes, string or file object, and the parser wil ...
https://man.plustar.jp/python/library/email.parser.html - [similar]
32.1. parser --- Python 解析木にアクセスする — Python 3.6.5 ドキュメント 9577
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 32. Python言語サービス » 32.1. parser --- Python 解析木にアクセスする ¶ parser モジュール ... 析木を編集するためのチュートリアルではありませんが、 parser モジュールを使った例をいくつか示しています。 もっと ... "ラッパー" クラスを Python で作ることができます。 parser モジュールは二、三の別々の目的のために関数を定義し ... exec' 形式を作成するために別々の関数が使われます。 parser. expr ( source ) ¶ まるで compile(source, 'file.py ...
https://man.plustar.jp/python/library/parser.html - [similar]
19.1.8. email: 使用例 — Python 3.6.5 ドキュメント 9297
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... n easily be done by the using the classes from the parser module: # Import the email modules we'll need from ... email.parser import BytesParser , Parser from email.policy impo ... th open(messagefile, 'rb') as fp: # headers = BytesParser(policy=default).parse(fp) # Or for parsing headers ... ng (this is an uncommon operation), use: headers = Parser ( policy = default ) . parsestr ( 'From: Foo Bar < ...
https://man.plustar.jp/python/library/email.examples.html - [similar]
20.2. html.parser--- HTML および XHTML のシンプルなパーサー — Python 3.6.5 ドキ... 9149
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 20. 構造化マークアップツール » 20.2. html.parser --- HTML および XHTML のシンプルなパーサー ¶ ソース ... コード: Lib/html/parser.py このモジュールでは HTMLParser クラスを定義します ... ファイルを解釈するための基礎となります。 class html.parser. HTMLParser ( * , convert_charrefs=True ) ¶ 不正な ... は自動的に対応する Unicode 文字に変換されます。 HTMLParser インスタンスは、HTML データが入力されると、開始タグ ...
https://man.plustar.jp/python/library/html.parser.html - [similar]
14.2. configparser --- 設定ファイルのパーサー — Python 3.6.5 ドキュメント 9046
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 14. ファイルフォーマット » 14.2. configparser --- 設定ファイルのパーサー ¶ ソースコード: Lib/con ... figparser.py このモジュールは、 Microsoft Windows の INI ファ ... た構造を持ったベーシックな設定用言語を実装した ConfigParser クラスを提供します。このクラスを使ってユーザーが簡 ... なり、各セクションは複数のキーと値を持ちます。 configparser のクラス群はそれらのファイルを読み書きできます。 ま ...
https://man.plustar.jp/python/library/configparser.html - [similar]
19.1. email --- 電子メールと MIME 処理のためのパッケージ — Python 3.6.5 ドキュ... 8398
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... other two major components of the package are the parser and the generator . The parser takes the serialize ... turns it back into a serialized byte stream. (The parser and generator also handle streams of text characte ... . Every EmailMessage , every generator , and every parser has an associated policy object that controls its ... a new email, or by parsing an input stream using a parser . But the policy can be changed when the message i ...
https://man.plustar.jp/python/library/email.html - [similar]
20.5. xml.etree.ElementTree --- ElementTree XML API — Python 3.6.5 ドキュメント 8044
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... の生成時に含まれます。ドキュメントタイプ宣言は、 XMLParser コンストラクタにカスタムの TreeBuilder インスタンス ... 返す前に、ドキュメント全体を読む必要があります。 XMLParser を使用して、インクリメンタルにデータを渡すことは可 ... とです。 これを行うための最も強力なツールは、 XMLPullParser です。XML データを取得するためにブロックするような ... 読み込みは必要なく、 XMLPullParser.feed() を呼び出して、インクリメンタルにデータを読み ...
https://man.plustar.jp/python/library/xml.etree.elementtree.html - [similar]
PREV 1 2 3 4 5 6 NEXT