per page, with , order by , clip by
Results of 1 - 10 of about 35 for exists (0.004 sec.)
pathlib --- オブジェクト指向のファイルシステムパス 14989
pathlib --- オブジェクト指向のファイルシステムパス Added in version 3.4. ソースコード: Lib/pathlib/ このモジュールはファイルシステムのパスを表すクラスを提供していて、様々なオペレーティングシステムについての適切な意味論をそれらのクラスに持た ... Path('/etc/init.d/reboot') >>> q . resolve () PosixPath('/etc/rc.d/init.d/halt') パスのプロパティを問い合わせます: >>> q . exists () True >>> q . is_dir () False ファイルを開きます: >>> with q . open () as f : f . readline () ... '#!/bin/bash\n' 例外 e ... 前のバージョンでは NotImplementedError を送出していました。 ファイルの種類とステータスを問い合わせる バージョン 3.8 で変更: exists() , is_dir() , is_file() , is_mount() , is_symlink() , is_block_device() , is_char_device() , is_fifo() , is_socket() は、 ... うになりました。 以前のバージョンでは、 OSError の種類によって送出するものと抑制するものがありました。 新しい動作は os.path.exists() や os.path.isdir() などと一貫しています。 例外を抑制せずにファイルの状態を取得するには、 stat() を使ってください。 Path. ...
https://man.mtool.work/python/3.14/library/pathlib.html
tkinter.font --- Tkinter フォントラッパー 11345
tkinter.font --- Tkinter フォントラッパー ソースコード: Lib/tkinter/font.py tkinter.font モジュールは、名前付きフォントの作成と利用のために Font クラスを提供します。 フォントの太さと傾きには次の種類があります: tkinter.font. NORMAL tkinter.f ... ont. BOLD tkinter.font. ITALIC tkinter.font. ROMAN class tkinter.font. Font ( root = None , font = None , name = None , exists = False , ** options ) Font クラスは名前付きフォントを表します。 Font インスタンスには一意の名前が付き、ファミリー、サイズ ... タンスである場合だけになりました。 引数: font - フォントを指定するタプル (family, size, options) name - フォントの一意の名前 exists - 真なら、 self は既存の名前付きフォントを指します。 追加のキーワードオプション ( font を指定した場合は無視されます): fami ...
https://man.mtool.work/python/3.14/library/tkinter.font.html
os.path --- 一般的なパス名操作 9722
os.path --- 一般的なパス名操作 ソースコード: Lib/genericpath.py , Lib/posixpath.py (POSIX) 、 Lib/ntpath.py (Windows) 。 このモジュールはパス名を扱う際に便利な関数を実装しています。ファイルの読み書きをする際は open() を、ファイルシステムにア ... いずれも同じインターフェースを持ちます: UNIX 形式のパスを扱う posixpath Windows のパスを扱う ntpath バージョン 3.8 で変更: exists() 、 lexists() 、 isdir() 、 isfile() 、 islink() 、 ismount() は、OS レベルで表現できない文字やバイトを含むパスに対して、 ... 渡した時に返されるペアの 1 番めの要素です。 バージョン 3.6 で変更: path-like object を受け入れるようになりました。 os.path. exists ( path ) path が実在するパスかオープンしているファイル記述子を参照している場合 True を返します。壊れたシンボリックリンクに ... e が返り、それ以外なら False が返ります。 バージョン 3.6 で変更: path-like object を受け入れるようになりました。 os.path. lexists ( path ) path が存在するパスを指している場合、壊れたシンボリックリンクも含めて True を返します。 os.lstat() のないプラット ...
https://man.mtool.work/python/3.14/library/os.path.html
site --- サイト固有の設定フック 9722
site --- サイト固有の設定フック ソースコード: Lib/site.py このモジュールは初期化中に自動的にインポートされます。 自動インポートはインタプリタの -S オプションで禁止できます。 Importing this module normally appends site-specific paths to the ... t , the pyvenv.cfg file in sys.prefix is checked for site-specific configurations. If the include-system-site-packages key exists and is set to true (case-insensitive), the system-level prefixes will be searched for site-packages, otherwise they won't. ... A path configuration file is a file whose name has the form name .pth and exists in one of the four directories mentioned above; its contents are additional items (one per line) to be added to sys.path . ...
https://man.mtool.work/python/3.14/library/site.html
Python 3.15 で削除予定 9324
Python 3.15 で削除予定 インポートシステム: Setting __cached__ on a module while failing to set __spec__.cached is deprecated. In Python 3.15, __cached__ will cease to be set or take into consideration by the import system or standard librar ... p.server : The obsolete and rarely used CGIHTTPRequestHandler has been deprecated since Python 3.13. No direct replacement exists. Anything is better than CGI to interface a web server with a request handler. python -m http.server のコマンドラインインタ ...
https://man.mtool.work/python/3.14/deprecations/pending-removal-in-3.15.html
linecache --- テキストラインへのランダムアクセス 9324
linecache --- テキストラインへのランダムアクセス ソースコード: Lib/linecache.py linecache モジュールを使うと、Python ソースファイルの任意の行を取得できます。 内部ではキャッシュを利用し、単一ファイルから多くの行を読み取る一般的なケースを最適 ... che . __file__ , 8 ) 'import sys\n' 他のマニュアルの関連ページ Linux JM getline(3) PHP reserved.variables.globals PHP file_exists() PHP phptoken.tokenize PHP php_strip_whitespace() PHP is_writable() ...
https://man.mtool.work/python/3.14/library/linecache.html
ファイルオブジェクト 8513
ファイルオブジェクト これらの API は、C 標準ライブラリのバッファ付き I/O ( FILE * ) に依存していた Python 2 の組み込みファイルオブジェクトの C API を、最小限エミュレートするものです。 Python 3 のファイルやストリームは新しい io モジュールを使 ... fgets() , this function does not distinguish between end of file and a read error, and it does not set an exception. fobj exists only for backward compatibility and must be NULL . int PyFile_SetOpenCodeHook ( Py_OpenCodeHookFunction handler ) io.open_ ...
https://man.mtool.work/python/3.14/c-api/file.html
imaplib --- IMAP4 プロトコルクライアント 8513
imaplib --- IMAP4 プロトコルクライアント ソースコード: Lib/imaplib.py このモジュールは、IMAP4 サーバへの接続をカプセル化する IMAP4 、 IMAP4_SSL 、 IMAP4_stream の 3 クラスを定義します。 これらは RFC 3501 で定義された IMAP4rev1 クライアントプ ... があります。 >>> with M . idle ( duration = 29 * 60 ) as idler : ... for typ , data in idler : ... print ( typ , data ) ... EXISTS [b'1'] RECENT [b'1'] Idler. burst ( interval = 0.1 ) interval 秒以内の間隔で連続して届く応答を yield します ( interval は ... 4. select ( mailbox = 'INBOX' , readonly = False ) メールボックスを選択します。返されるデータは mailbox 内のメッセージ数 ( EXISTS 応答) です。標準の設定では mailbox は 'INBOX' です。 readonly が設定された場合、メールボックスに対する変更はできません。 I ...
https://man.mtool.work/python/3.14/library/imaplib.html
abc --- 抽象基底クラス 8115
abc --- 抽象基底クラス ソースコード: Lib/abc.py このモジュールは Python に PEP 3119 で概要が示された 抽象基底クラス (ABC) を定義する基盤を提供します。なぜこれが Python に付け加えられたかについてはその PEP を参照してください。 (ABC に基づいた ... HP classobj.examples PHP language.oop5.abstract PHP language.oop5.changelog PHP reflectionproperty.isabstract PHP property_exists() PHP migration72.new-features ...
https://man.mtool.work/python/3.14/library/abc.html
wsgiref --- WSGI ユーティリティとリファレンス実装 8115
wsgiref --- WSGI ユーティリティとリファレンス実装 ソースコード: Lib/wsgiref 警告 wsgiref はリファレンス実装であり、本番環境での使用は推奨されません。 このモジュールは基本的なセキュリティ検査だけを実装しています。 Web Server Gateway Interfac ... ]: fn = os . path . join ( fn , "index.html" ) mime_type = mimetypes . guess_file_type ( fn )[ 0 ] # Return 200 OK if file exists, otherwise 404 Not Found if os . path . exists ( fn ): respond ( "200 OK" , [( "Content-Type" , mime_type )]) return util ...
https://man.mtool.work/python/3.14/library/wsgiref.html
PREV 1 2 3 4 NEXT