Results of 1 - 5 of about 5 for fragment (0.010 sec.)
- urllib.parse --- URL を構成要素に解析する 12851
- urllib.parse --- URL を構成要素に解析する ソースコード: Lib/urllib/parse.py このモジュールでは URL (Uniform Resource Locator) 文字列をその構成要素 (アドレススキーム、ネットワーク上の位置、パスその他) に分解したり、構成要素を URL に組みなおし
...、あるいは URL の構成要素を組み合わせて URL 文字列を生成します。 urllib.parse. urlsplit ( urlstring , scheme = None , allow_fragments = True ) Parse a URL into five components, returning a 5-item named tuple SplitResult or SplitResultBytes . This correspo...nds to the general structure of a URL: scheme://netloc/path?query#fragment . Each tuple item is a string, possibly empty. The delimiters as shown above are not part of the result, except for a lead...たシーケンスはデコードされません。 例えば: >>> from urllib.parse import urlsplit >>> urlsplit ( "scheme://netloc/path?query#fragment" ) SplitResult(scheme='scheme', netloc='netloc', path='/path', query='query', fragment='fragment') >>> o = urlsplit ( "htt... - https://man.mtool.work/python/3.14/library/urllib.parse.html
- 関数型プログラミング HOWTO 8475
- 関数型プログラミング HOWTO Author : A. M. Kuchling Release : 0.32 この文書では、関数型スタイルでプログラムを実装するのにピッタリな Python の機能を見てまわることにしましょう。まず関数型プログラミングという概念を紹介したあと、 iterator や gen
...rB[1]), f(iterA[2], iterB[2]), ... . >>> def upper ( s ): ... return s . upper () >>> list ( map ( upper , [ 'sentence' , 'fragment' ])) ['SENTENCE', 'FRAGMENT'] >>> [ upper ( s ) for s in [ 'sentence' , 'fragment' ]] ['SENTENCE', 'FRAGMENT'] もちろん、リ... - https://man.mtool.work/python/3.14/howto/functional.html
- What's New In Python 3.2 8328
- What's New In Python 3.2 著者 : Raymond Hettinger この記事では Python 3.1 と比較した Python 3.2 の新機能を説明します。 Python 3.2 は 2011 年 2 月 20 日にリリースされました。 主な変更点をいくつか取り上げ、例を示します。 すべての詳細については
.../foo/' ) ParseResult(scheme='http', netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', path='/foo/', params='', query='', fragment='') urldefrag() 関数は、今や named tuple を返します: >>> r = urllib . parse . urldefrag ( 'http://python.org/about/#target...' ) >>> r DefragResult(url='http://python.org/about/', fragment='target') >>> r [ 0 ] 'http://python.org/about/' >>> r . fragment 'target' また、 urlencode() 関数はさらに柔軟になり、 que...hon.org:80/about/' ) ParseResultBytes(scheme=b'http', netloc=b'www.python.org:80', path=b'/about/', params=b'', query=b'', fragment=b'') (Work by Nick Coghlan, Dan Mahn, and Senthil Kumaran in bpo-2987 , bpo-5468 , and bpo-9873 .) mailbox Thanks to a con... - https://man.mtool.work/python/3.14/whatsnew/3.2.html
- xml.dom --- ドキュメントオブジェクトモデル API 8254
- xml.dom --- ドキュメントオブジェクトモデル API ソースコード: Lib/xml/dom/__init__.py 文書オブジェクトモデル (Document Object Model)、すなわち "DOM" は、ワールドワイドウェブコンソーシアム (World Wide Web Consortium, W3C) による、XML ドキュメ
...挙げたものに限られます。 Document 高々 1 個の Element 、高々 1 個の DocumentType 、 ProcessingInstruction 、 Comment DocumentFragment と Element Element 、 Text 、 CDATASection 、 ProcessingInstruction 、 Comment Attr Text その他の型のノードは子ノードを持て...TITY_NODE Node. PROCESSING_INSTRUCTION_NODE Node. COMMENT_NODE Node. DOCUMENT_NODE Node. DOCUMENT_TYPE_NODE Node. DOCUMENT_FRAGMENT_NODE Node. NOTATION_NODE nodeType 属性が取り得る値を表す整数定数です。 Node. parentNode 現在のノードの親ノードか、文書ノー...ame nodeValue Attr name value CDATASection '#cdata-section' 内容 Comment '#comment' 内容 Document '#document' None DocumentFragment '#document-fragment' None DocumentType name None Element tagName None Entity エンティティ名 None Notation 表記名 None Proc... - https://man.mtool.work/python/3.14/library/xml.dom.html
- What's New in Python 2.7 8034
- What's New in Python 2.7 著者 : A.M. Kuchling (amk at amk.ca) この文書は Python 2.7 の新機能について解説します。Python 2.7 は 2010 年 7 月 3 日にリリースされました。 数値周りの扱いが、浮動小数点数でも Decimal クラスでもいろいろな点で改良され
...80::8:800:200C:417A]/foo' ) ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]', path='/foo', params='', query='', fragment='') 新しいクラス: weakref モジュールの WeakSet クラスは、その要素の弱参照だけを保持する集合です。要素は、それを指す参照がな... - https://man.mtool.work/python/3.14/whatsnew/2.7.html
PREV
1
NEXT