Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 26 for attr (0.045 sec.)
オブジェクトプロトコル (object protocol) — Python 3.6.5 ドキュメント 13687
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... を使ってオブジェクトを書き込みます。 int PyObject_HasAttr ( PyObject *o , PyObject *attr_name ) ¶ o が属性 a ... 以外のときに 0 を返します。この関数は Python の式 hasattr(o, attr_name) と同じです。この関数は常に成功します ... 。 int PyObject_HasAttrString ( PyObject *o , const char *attr_name ) ¶ o ... が属性 attr_name を持つときに 1 を、それ以外のときに 0 を返しま ...
https://man.plustar.jp/python/c-api/object.html - [similar]
16.10. curses --- 文字セル表示を扱うための端末操作 — Python 3.6.5 ドキュメント 12679
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ォルト値は常に現在のカーソルになります。オプションの attr がある場合、デフォルト値は A_NORMAL です。 curses ... 1 の間でなければなりません。 curses. pair_number ( attr ) ¶ attr に対する色ペアセットの番号を返します。 co ... イッチが入れられたときの状態に戻します。 curses. termattrs ( ) ¶ 端末がサポートするすべてのビデオ属性を論理和 ... 下のメソッドと属性を持ちます: window. addch ( ch [ , attr ] ) ¶ window. addch ( y , x , ch [ , attr ] ) (y, ...
https://man.plustar.jp/python/library/curses.html - [similar]
10.3. operator --- 関数形式の標準演算子 — Python 3.6.5 ドキュメント 10596
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ドを抽出する際に引数として使うと便利です。 operator. attrgetter ( attr ) ¶ operator. attrgetter ( *attrs ) 演 ... 算対象から attr を取得する呼び出し可能なオブジェクトを返します。二 ... す。属性名はドットを含むこともできます。例えば: f = attrgetter('name') とした後で、 f(b) を呼び出すと b.nam ... e を返します。 f = attrgetter('name', 'date') とした後で、 f(b) を呼び出す ...
https://man.plustar.jp/python/library/operator.html - [similar]
20.2. html.parser--- HTML および XHTML のシンプルなパーサー — Python 3.6.5 ドキ... 10083
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ( HTMLParser ): def handle_starttag ( self , tag , attrs ): print ( "Encountered a start tag:" , tag ) def ... 何もしません: HTMLParser. handle_starttag ( tag , attrs ) ¶ このメソッドは開始タグを扱うために呼び出されま ... 引数 tag はタグの名前で、小文字に変換されます。引数 attrs は (name, value) のペアからなるリストで、タグの < ... 換されます。 HTMLParser. handle_startendtag ( tag , attrs ) ¶ handle_starttag() と似ていますが、パーサーが ...
https://man.plustar.jp/python/library/html.parser.html - [similar]
20.6. xml.dom --- 文書オブジェクトモデル (DOM) API — Python 3.6.5 ドキュメント 9340
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ment オブジェクト ドキュメント階層内の要素ノード。 Attr Attr オブジェクト 要素ノード上の属性値ノード。 Com ... す。型に対応する以下のシンボル定数: ELEMENT_NODE 、 ATTRIBUTE_NODE 、 TEXT_NODE 、 CDATA_SECTION_NODE 、 EN ... ート要素の場合には Document オブジェクトとなります。 Attr ノードの場合、この値は常に None となります。読み出 ... し専用の属性です。 Node. attributes ¶ 属性オブジェクトの NamedNodeMap です。要素 ...
https://man.plustar.jp/python/library/xml.dom.html - [similar]
Python で Curses プログラミング — Python 3.6.5 ドキュメント 8083
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... または文字 ch を現在位置に表示します str または ch , attr 文字列 str または文字 ch を属性 attr を利用して現在 ... str または ch を表示します y , x , str または ch , attr ウィンドウ内の位置 y,x に移動し属性 attr を利用して ... to bytes using the value of the window's encoding attribute; this defaults to the default system encoding ... curses supports this by allowing you to specify an attribute for each cell on the screen. 属性は整数値で、 ...
https://man.plustar.jp/python/howto/curses.html - [similar]
20.11. xml.sax.saxutils --- SAX ユーティリティ — Python 3.6.5 ドキュメント 8083
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... は常に元の文字に戻されます。 xml.sax.saxutils. quoteattr ( data , entities={} ) ¶ escape() に似ていますが、 ... 済みの data で、置換する文字の追加も可能です。 quoteattr() はクォートすべき文字を data の文脈から判断し、ク ... まで属性値として利用できます: >>> print ( "<element attr= %s >" % quoteattr ( "ab ' cd \" ef" )) <element a ...
https://man.plustar.jp/python/library/xml.sax.utils.html - [similar]
36.1. optparse --- コマンドラインオプション解析器 — Python 3.6.5 ドキュメント 7918
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 下の通りです: parser . add_option ( opt_str , ... , attr = value , ... ) 各オプションには、 -f や --file の ... きかを optparse に教えるためのオプション属性 (option attribute)がいくつか入ります。 通常、各オプションには短 ... ( option ) ¶ OptionParser. add_option ( *opt_str , attr=value , ... ) 短い形式のオプション文字列を一つだけ ... るには次のようにします: parser . add_option ( "-f" , attr = value , ... ) また、長い形式のオプション文字列を ...
https://man.plustar.jp/python/library/optparse.html - [similar]
What's New In Python 3.3 — Python 3.6.5 ドキュメント 7753
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... . def __init__ ( self , extra ): ... self . _extra_attributes = extra ... def __getattr__ ( self , attr ): ... ... try : ... return self . _extra_attributes [ attr ] ... except KeyError : ... raise Att ... ributeError ( attr ) from None ... >>> D ({}) . x Traceback (most rec ... 1 , in <module> File "<stdin>" , line 8 , in __getattr__ AttributeError : x 元となる要因例外を抑制する fr ...
https://man.plustar.jp/python/whatsnew/3.3.html - [similar]
32.12. dis --- Python バイトコードの逆アセンブラ — Python 3.6.5 ドキュメント 7653
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... tor function uses the co_firstlineno and co_lnotab attributes of the code object code to find the offsets ... できた値は右から左の順でスタックに積まれます。 STORE_ATTR ( namei ) ¶ TOS.name = TOS1 を実行します。 namei は ... co_names における名前のインデックスです。 DELETE_ATTR ( namei ) ¶ del TOS.name を実行します。 co_names へ ... coding it in the second byte of the argument. LOAD_ATTR ( namei ) ¶ TOS を getattr(TOS, co_names[namei]) と ...
https://man.plustar.jp/python/library/dis.html - [similar]
PREV 1 2 3 NEXT