per page, with , order by , clip by
Results of 1 - 10 of about 15 for scheme (0.007 sec.)
urllib.parse --- URL を構成要素に解析する 13723
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 SplitRes ... ultBytes . This corresponds 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 ... 。 パーセントエンコードされたシーケンスはデコードされません。 例えば: >>> from urllib.parse import urlsplit >>> urlsplit ( "scheme://netloc/path?query#fragment" ) SplitResult(scheme='scheme', netloc='netloc', path='/path', query='query', fragment='fragm ...
https://man.mtool.work/python/3.14/library/urllib.parse.html
sysconfig --- Python の構成情報へのアクセスを提供する 11929
sysconfig --- Python の構成情報へのアクセスを提供する Added in version 3.2. ソースコード: Lib/sysconfig sysconfig モジュールは、インストールパスの一覧や現在のプラットフォームに関する構成変数など、Python の構成情報へのアクセスを提供します。 ... Scripts data prefix インストールパスの関数 sysconfig は、これらのインストールパスを求める関数を提供します。 sysconfig. get_scheme_names ( ) sysconfig が現在サポートするすべてのスキームを含むタプルを返します。 sysconfig. get_default_scheme ( ) 現在のプラ ... ットフォームのデフォルトのスキーム名を返します。 Added in version 3.10: 以前、この関数は _get_default_scheme() という名前で、実装の詳細とされていました。 バージョン 3.11 で変更: Python を仮想環境で実行している場合、 venv スキームを ... 返すようになりました。 sysconfig. get_preferred_scheme ( key ) key で指定したインストール構成に適したスキーム名を返します。 key は "prefix" 、 "home" 、 "user" のいずれかでなけれ ...
https://man.mtool.work/python/3.14/library/sysconfig.html
urllib.request --- URL を開くための拡張可能なライブラリ 10066
urllib.request --- URL を開くための拡張可能なライブラリ ソースコード: Lib/urllib/request.py urllib.request モジュールは、Basic 認証や Digest 認証、リダイレクト、Cookie などが絡む複雑な状況で URL (主に HTTP) を開くための関数とクラスを定義して ... ler_order メンバー変数を変更して、ハンドラーリスト内での場所を変更できます。 urllib.request. pathname2url ( path , * , add_scheme = False ) 指定されたローカルパスを file: URL に変換します。 この関数は quote() を使ってパスをエンコードします。 add_scheme ... が偽 (デフォルト) の場合、戻り値から file: スキームの接頭辞を省きます。 完全な URL を返すには add_scheme を真に設定してください。 次は Windows でこの関数を使う例です。 >>> from urllib.request import pathname2url >>> path = 'C: ... \\ Program Files' >>> pathname2url ( path , add_scheme = True ) 'file:///C:/Program%20Files' バージョン 3.14 で変更: Windows のドライブ文字を大文字に変換しなくなりました。 また、 ...
https://man.mtool.work/python/3.14/library/urllib.request.html
wsgiref --- WSGI ユーティリティとリファレンス実装 8342
wsgiref --- WSGI ユーティリティとリファレンス実装 ソースコード: Lib/wsgiref 警告 wsgiref はリファレンス実装であり、本番環境での使用は推奨されません。 このモジュールは基本的なセキュリティ検査だけを実装しています。 Web Server Gateway Interfac ... いては PEP 3333 を、型アノテーションに使える型エイリアスについては WSGIEnvironment を参照してください。 wsgiref.util. guess_scheme ( environ ) environ 辞書の HTTPS 環境変数を調べることで wsgi.url_scheme が "http" か "https" のどちらであるべきか推測し、そ ... れます。 バージョン 3.3 で変更: "Python" という語は "CPython" や "Jython" などのような個別実装の語に置き換えられました。 get_scheme ( ) 現在のリクエストで使われている URL スキームを返します。デフォルト実装は wsgiref.util の guess_scheme() を使い、現在のリ ...
https://man.mtool.work/python/3.14/library/wsgiref.html
拡張モジュールの定義 8046
拡張モジュールの定義 A C extension for CPython is a shared library (for example, a .so file on Linux, .pyd DLL on Windows), which is loadable into the Python process (for example, it is compiled with compatible compiler settings), and which ... s is called multi-phase initialization to distinguish it from the legacy (but still supported) single-phase initialization scheme, where the initialization function returns a fully constructed module. See the single-phase-initialization section below f ...
https://man.mtool.work/python/3.14/c-api/extension-modules.html
What's New in Python 2.6 8046
What's New in Python 2.6 著者 : A.M. Kuchling (amk at amk.ca) この記事では、2008 年 10 月 1 日にリリースされた Python 2.6 の新機能を説明します。 リリース日程は PEP 361 に記載されています。 Python 2.6 の主要なテーマは、言語を大幅に再設計する ... : pass A = foo ( bar ( A )) 参考 PEP 3129 - クラスデコレータ PEP 著 Collin Winter. PEP 3141: 数値の型階層 Python 3.0 では Scheme の numeric tower に触発された、いくつかの数値型のための抽象基底クラスを追加しています。これらのクラスは numbers モジュール ... 引数とゼロの間にある最も近い Integral を返します。 参考 PEP 3141 - 数値の型階層 PEP 著: Jeffrey Yasskin. Guile マニュアルの Scheme's numerical tower 。 R5RS Scheme 仕様の Scheme の数値データ型 。 fractions モジュール 数値型階層を埋めるべく、 fractions モ ...
https://man.mtool.work/python/3.14/whatsnew/2.6.html
What's New In Python 3.2 7959
What's New In Python 3.2 著者 : Raymond Hettinger この記事では Python 3.1 と比較した Python 3.2 の新機能を説明します。 Python 3.2 は 2011 年 2 月 20 日にリリースされました。 主な変更点をいくつか取り上げ、例を示します。 すべての詳細については ... with tempfile . TemporaryDirectory () as tmpdirname : print ( 'created temporary dir:' , tmpdirname ) (Contributed by Neil Schemenauer and Nick Coghlan; bpo-5178 .) inspect inspect モジュールに新たな関数 getgeneratorstate() が追加されました。これで簡単 ... ンインターフェースもあります: C:\Python32> python -m sysconfig Platform: "win32" Python version: "3.2" Current installation scheme: "nt" Paths: data = "C:\Python32" include = "C:\Python32\Include" platinclude = "C:\Python32\Include" platlib = "C:\Python ... import urllib.parse >>> urllib . parse . urlparse ( 'http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/' ) ParseResult(scheme='http', netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', path='/foo/', params='', query='', fragment='') urldefrag() 関 ...
https://man.mtool.work/python/3.14/whatsnew/3.2.html
モジュールのインポート 7889
モジュールのインポート PyObject * PyImport_ImportModule ( const char * name ) 戻り値: 新しい参照。 次に属します: Stable ABI . PyImport_Import() のラッパーで、引数として PyObject * の代わりに const char * を受け取ります。 PyObject * PyImport ... This function used to fail immediately when the import lock was held by another thread. In Python 3.3 though, the locking scheme switched to per-module locks for most purposes, so this function's special behaviour isn't needed anymore. バージョン 3.13 ...
https://man.mtool.work/python/3.14/c-api/import.html
ストリーム 7889
ストリーム ソースコード: Lib/asyncio/streams.py ストリームはネットワークコネクションと合わせて動作する高水準の async/await 可能な基本要素です。ストリームはコールバックや低水準のプロトコルやトランスポートを使うことなくデータを送受信することを ... ncio import urllib.parse import sys async def print_http_headers ( url ): url = urllib . parse . urlsplit ( url ) if url . scheme == 'https' : reader , writer = await asyncio . open_connection ( url . hostname , 443 , ssl = True ) else : reader , write ...
https://man.mtool.work/python/3.14/library/asyncio-stream.html
urllib パッケージを使ってインターネット上のリソースを取得するには 7819
urllib パッケージを使ってインターネット上のリソースを取得するには Author : Michael Foord はじめに Related Articles 同じように Python でインターネットリソースを取得するのに以下の記事が役に立ちます: Basic 認証 Basic 認証 についてのチュートリア ... ドとともに) を送ります。これによって認証スキームと 'realm' が指定されます。ヘッダはこのようになっています: WWW-Authenticate: SCHEME realm="REALM" 。 例 WWW-Authenticate: Basic realm="cPanel Users" クライアントは、その realm に適した名前とパスワードをリク ...
https://man.mtool.work/python/3.14/howto/urllib2.html
PREV 1 2 NEXT