Results of 1 - 10 of about 10 for links (0.007 sec.)
- What's New in Python 2.4 13139
- What's New in Python 2.4 著者 : A.M. Kuchling この文書は 2005 年 3 月 30 日にリリースされた Python 2.4.1 の新機能について解説します。 Python 2.4 は、真ん中サイズ、のリリースです。急進的だった Python 2.2 ほどには多くの変更をしていませんが、保
...ットが非常に大きい場合には問題になり得ます。 関数型のスタイルでプログラムを書こうとすると、次のように書くのが自然でしょう。 links = [ link for link in get_all_links () if not link . followed ] for link in links : ... こうではなく for link in get_all_li...作をしますが、リスト全体を実体化しません; 代わりにそれは、要素を一つずつ返すジェネレータを返します。上述の例はこう書けます: links = ( link for link in get_all_links () if not link . followed ) for link in links : ... 上の例でのように、ジェネレータ式は常... - https://man.mtool.work/python/3.14/whatsnew/2.4.html
- webbrowser --- 便利なウェブブラウザコントローラー 10655
- webbrowser --- 便利なウェブブラウザコントローラー ソースコード: Lib/webbrowser.py webbrowser モジュールは、ウェブ上のドキュメントをユーザーに表示するための高水準インターフェースを提供します。 ほとんどの場合、このモジュールの open() 関数を呼
...phany' Epiphany('epiphany') 'kfmclient' Konqueror() (1) 'konqueror' Konqueror() (1) 'kfm' Konqueror() (1) 'opera' Opera() 'links' GenericBrowser('links') 'elinks' Elinks('elinks') 'lynx' GenericBrowser('lynx') 'w3m' GenericBrowser('w3m') 'windows-defa... - https://man.mtool.work/python/3.14/library/webbrowser.html
- errno --- 標準の errno システムシンボル 10047
- errno --- 標準の errno システムシンボル このモジュールから標準の errno システムシンボルを取得することができます。個々のシンボルの値は errno に対応する整数値です。これらのシンボルの名前は、 linux/include/errno.h から借用されており、網羅的なは
...seek) errno. EROFS リードオンリーのファイルシステムです (Read-only file system) errno. EMLINK リンクが多すぎます (Too many links) errno. EPIPE パイプが壊れています (Broken pipe)。 このエラーは例外 BrokenPipeError に対応します。 errno. EDOM 数学引数が関...レクトリが空ではありません (Directory not empty) errno. ELOOP これ以上シンボリックリンクを追跡できません (Too many symbolic links encountered) errno. EWOULDBLOCK 操作を進めるにはブロックする必要があります (Operation would block)。 このエラーは例外 Bloc... - https://man.mtool.work/python/3.14/library/errno.html
- 拡張モジュールの定義 8813
- 拡張モジュールの定義 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
...rom a single shared library by defining multiple initialization functions. However, importing them requires using symbolic links or a custom importer, because by default only the function corresponding to the filename is found. See the Multiple module... - https://man.mtool.work/python/3.14/c-api/extension-modules.html
- xml.etree.ElementTree --- ElementTree XML API 8813
- xml.etree.ElementTree --- ElementTree XML API Source code: Lib/xml/etree/ElementTree.py xml.etree.ElementTree モジュールは、XML データの解析と作成を行うシンプルで効率的な API を実装しています。 バージョン 3.3 で変更: このモジュールは利用出来
...html' at 0xb77e6fac> >>> p = tree . find ( "body/p" ) # body 内の最初の p タグを探す >>> p <Element 'p' at 0xb77ec26c> >>> links = list ( p . iter ( "a" )) # すべてのリンクのリストを返す >>> links [<Element 'a' at 0xb77ec2ac>, <Element 'a' at 0xb77ec1...cc>] >>> for i in links : # 見つかったすべてのリンクをイテレートする ... i . attrib [ "target" ] = "blank" ... >>> tree . write ( "output.xhtml" )... - https://man.mtool.work/python/3.14/library/xml.etree.elementtree.html
- shelve --- Python オブジェクトの永続化 8187
- shelve --- Python オブジェクトの永続化 ソースコード: Lib/shelve.py "シェルフ (shelf, 棚)" は辞書に似た永続性を持つオブジェクトです。 "dbm" データベースとの違いは、シェルフの値 (キーではありません!) は実質上どんな Python オブジェクトにも ---
...対する共通インターフェース。 pickle モジュール shelve が使うオブジェクトの直列化。 他のマニュアルの関連ページ PHP mysqli_get_links_stats() PHP reflectionextension.ispersistent Django querysets PHP getprotobyname() PHP getprotobynumber() Django 1.5.3... - https://man.mtool.work/python/3.14/library/shelve.html
- tarfile --- tar アーカイブファイルの読み書き 7562
- tarfile --- tar アーカイブファイルの読み書き ソースコード: Lib/tarfile.py tarfile モジュールを使うと、gzip、bz2、lzma で圧縮されたものを含め、tar アーカイブを読み書きできます。 .zip ファイルの読み書きには zipfile モジュールか、 shutil の高水
...た後の絶対パスが展開先の外部になるファイルは、展開を 拒否 します。 OutsideDestinationError を送出します。 Refuse to extract links (hard or soft) whose name refers to the destination directory itself. This raises OutsideDestinationError . Note that such...files are refused even on platforms that do not support symbolic links. モードの上位ビット (setuid、setgid、sticky) と、グループおよびその他のユーザーの書き込みビット ( S_IWGRP | S_IWOTH ) をク... - https://man.mtool.work/python/3.14/library/tarfile.html
- threading --- スレッドベースの並列処理 7562
- threading --- スレッドベースの並列処理 ソースコード: Lib/threading.py このモジュールでは、高水準のスレッドインターフェースをより低水準 な _thread モジュールの上に構築しています。 利用可能な環境 : not WASI. このモジュールは WebAssembly では動
...ink } " ) time . sleep ( delay ) # ブロックする I/O (ネットワークリクエストを模擬) print ( f "crawl ended for { link } " ) links = [ "https://python.org" , "https://docs.python.org" , "https://peps.python.org" , ] # 各リンクのスレッドを開始する thread...s = [] for link in links : # 位置引数は args、キーワード引数は kwargs で渡す t = threading . Thread ( target = crawl , args = ( link ,), kwargs = {... - https://man.mtool.work/python/3.14/library/threading.html
- 5. macOS で Python を使う 7562
- 5. macOS で Python を使う このドキュメントでは、Mac コンピュータで Python を使い始める際に知っておくべき、macOS 固有の挙動を概説します。 macOS を実行する Mac 上の Python は、ほかの Unix 派生プラットフォーム上の Python と非常によく似ています
...libraries. The installer adds this location to your shell path. To uninstall Python, you can remove these three things. Symlinks to the Python executable are placed in /usr/local/bin/ . 注釈 最近の macOS には、 /usr/bin/python3 に python3 コマンドが含...ge in future releases. 既知の注意点と制限: The UNIX command-line tools package, which is selected by default, will install links in /usr/local/bin for python3.14t , the free-threaded interpreter, and python3.14t-config , a configuration utility which... - https://man.mtool.work/python/3.14/using/mac.html
- What's New In Python 3.2 6954
- What's New In Python 3.2 著者 : Raymond Hettinger この記事では Python 3.1 と比較した Python 3.2 の新機能を説明します。 Python 3.2 は 2011 年 2 月 20 日にリリースされました。 主な変更点をいくつか取り上げ、例を示します。 すべての詳細については
...Contributed by Victor Stinner.) shutil shutil.copytree() 関数に新たに 2 つのオプションが追加されました: ignore_dangling_symlinks : symlinks=False とするとこの関数は、ファイルがシンボリックリンクだった場合にリンクそのものではなくそれが指しているファイル...をコピーします。 ignore_dangling_symlinks を真にすると、そのファイルが存在しない場合のエラーを無視します。 copy_function : これはファイルをコピーするのに使われる呼び...: { 'prefix' : '/usr/local' }}) >>> parser . read_string ( """ ... [buildout] ... parts = ... zope9 ... instance ... find-links = ... ${buildout:directory}/downloads/dist ... ... [zope9] ... recipe = plone.recipe.zope9install ... location = /opt/zope... - https://man.mtool.work/python/3.14/whatsnew/3.2.html
PREV
1
NEXT