per page, with , order by , clip by
Results of 1 - 10 of about 27 for database (0.003 sec.)
dbm --- Unix "データベース" へのインターフェース 15355
dbm --- Unix "データベース" へのインターフェース ソースコード: Lib/dbm/__init__.py dbm は DBM データベースの各種実装に対する汎用インターフェースです: dbm.sqlite3 dbm.gnu dbm.ndbm If none of these modules are installed, the slow-but-simple i ... 場合は、上に挙げたサブモジュールのうち最初にインポートできたものを使います。 flag ( str ) -- 'r' (デフォルト): Open existing database for reading only. 'w' : Open existing database for reading and writing. 'c' : Open database for reading and writing, creat ... ing it if it doesn't exist. 'n' : Always create a new, empty database, open for reading and writing. mode ( int ) -- The Unix file access mode of the file (default: octal 0o666 ), used only wh ... en the database has to be created. バージョン 3.11 で変更: file に path-like object を渡せるようになりました。 open() が返すオブジェクトは ...
https://man.mtool.work/python/3.14/library/dbm.html
unicodedata --- Unicode データベース 11224
unicodedata --- Unicode データベース This module provides access to the Unicode Character Database (UCD) which defines character properties for all Unicode characters. The data contained in this database is compiled from the UCD version 16. ... 0.0 . The module uses the same names and symbols as defined by Unicode Standard Annex #44, "Unicode Character Database" . It defines the following functions: 参考 Unicode とこのモジュールの使い方については Unicode HOWTO を参照してください。 ... as string. General category names consist of two letters. See the General Category Values section of the Unicode Character Database documentation for a list of category codes. For example: >>> unicodedata . category ( 'A' ) # 'L'etter (文字)、'u'ppercase ... no such value is defined, an empty string is returned. See the Bidirectional Class Values section of the Unicode Character Database documentation for a list of bidirectional codes. For example: >>> unicodedata . bidirectional ( ' \N{ARABIC-INDIC DIGIT SE ...
https://man.mtool.work/python/3.14/library/unicodedata.html
Pythonモジュール索引 9726
Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ __future__ Future statement definitions __main__ The environment where top-level code is run. Covers command-line i ... sses Generate special methods on user-defined classes. datetime Basic date and time types. dbm Interfaces to various Unix "database" formats. dbm.dumb Portable implementation of the simple DBM interface. dbm.gnu GNU database manager dbm.ndbm The New Data ... ob Unix shell style pathname pattern expansion. graphlib Functionality to operate with graph-like structures grp The group database (getgrnam() and friends). gzip Interfaces for gzip compression and decompression using file objects. h hashlib Secure hash ... urce profiler. pstats Statistics object for use with the profiler. pty Pseudo-Terminal Handling for Unix. pwd The password database (getpwnam() and friends). py_compile Generate byte-code files from Python source files. pyclbr Supports information extrac ...
https://man.mtool.work/python/3.14/py-modindex.html
8. エラーと例外 9117
8. エラーと例外 これまでエラーメッセージについては簡単に触れるだけでしたが、チュートリアル中の例を自分で試していたら、実際にいくつかのエラーメッセージを見ていることでしょう。エラーには (少なくとも) 二つのはっきり異なる種類があります。それは ... 処理の例外が発生すると、 その例外には処理中だった例外が関連付けられ、エラーメッセージにも含まれます。 >>> try : ... open ( "database.sqlite" ) ... except OSError : ... raise RuntimeError ( "unable to handle error" ) ... Traceback (most recent call last): ... File "<stdin>" , line 2 , in <module> open ( "database.sqlite" ) ~~~~^^^^^^^^^^^^^^^^^^^ FileNotFoundError : [Errno 2] No such file or directory: 'database.sqlite' During handli ... ise ConnectionError ... >>> try : ... func () ... except ConnectionError as exc : ... raise RuntimeError ( 'Failed to open database' ) from exc ... Traceback (most recent call last): File "<stdin>" , line 2 , in <module> func () ~~~~^^ File "<stdin>" , l ...
https://man.mtool.work/python/3.14/tutorial/errors.html
dataclasses --- データクラス 8755
dataclasses --- データクラス ソースコード: Lib/dataclasses.py このモジュールは、 __init__() や __repr__() のような 特殊メソッド を生成し、ユーザー定義のクラスに自動的に追加するデコレーターや関数を提供します。このモジュールは元々、 PEP 557 で ... されなかった場合に、フィールドをデータベースから初期化するものとします。 @dataclass class C : i : int j : int | None = None database : InitVar [ DatabaseType | None ] = None def __post_init__ ( self , database ): if self . j is None and database is not No ... ne : self . j = database . lookup ( 'j' ) c = C ( 10 , database = my_database ) この場合、 fields() は i と j の Field オブジェクトを返しますが、 d ...
https://man.mtool.work/python/3.14/library/dataclasses.html
sqlite3 --- SQLite データベース用の DB-API 2.0 インターフェース 8755
sqlite3 --- SQLite データベース用の DB-API 2.0 インターフェース ソースコード: Lib/sqlite3/ SQLite は、軽量なディスク上のデータベースを提供する C ライブラリです。別のサーバプロセスを用意する必要なく、 SQL クエリー言語の非標準的な一種を使用し ... えるデータ型を説明しています。 https://www.w3schools.com/sql/ SQL 学習に効くチュートリアル、リファレンス、実例集。 PEP 249 - Database API Specification 2.0 Marc-Andre Lemburg により書かれた PEP。 チュートリアル このチュートリアルでは、あなたは基本的な sqli ... ランザクション制御 トランザクション制御の背景についてより深く掘り下げた説明。 リファレンス モジュール関数 sqlite3. connect ( database , timeout = 5.0 , detect_types = 0 , isolation_level = 'DEFERRED' , check_same_thread = True , factory = sqlite3.Connectio ... e , * , autocommit = sqlite3.LEGACY_TRANSACTION_CONTROL ) SQLite データベースとの接続(connection)を開きます。 パラメータ : database ( path-like object ) -- 開くデータベースファイルのパスです。 ":memory:" を渡すと、 メモリ内にのみ存在する SQLite データベー ...
https://man.mtool.work/python/3.14/library/sqlite3.html
mimetypes --- ファイル名を MIME タイプへマップする 7965
mimetypes --- ファイル名を MIME タイプへマップする ソースコード: Lib/mimetypes.py mimetypes モジュールは、ファイル名または URL と、ファイル拡張子に対応する MIME 型との間の変換を行います。 ファイル名から MIME 型への変換と、MIME 型からファイル ... ile extension $ python -m mimetypes filename.pict error: media type unknown for filename.pict $ # now look in the extended database built into Python $ python -m mimetypes --lenient filename.pict type: image/pict encoding: None $ # get a file extension b ... n by a rare MIME type $ python -m mimetypes --extension text/xul error: unknown type text/xul $ # now look in the extended database again $ python -m mimetypes --extension --lenient text/xul .xul $ # try to feed an unknown file extension $ python -m mime ...
https://man.mtool.work/python/3.14/library/mimetypes.html
データの永続化 7965
データの永続化 この章で解説されるモジュール群は Python データをディスクに永続的な形式で保存します。モジュール pickle とモジュール marshal は多くの Python データ型をバイト列に変換し、バイト列から再生成します。様々な DBM 関連モジュールはハッシ ... ース Key and value types dbm.sqlite3 --- dbm の SQLite バックエンド dbm.gnu --- GNU データベースマネージャ dbm.ndbm --- New Database Manager dbm.dumb --- 移植性のある DBM 実装 sqlite3 --- SQLite データベース用の DB-API 2.0 インターフェース チュートリアル ...
https://man.mtool.work/python/3.14/library/persistence.html
監査イベント表 7801
監査イベント表 この表は、 CPython ランタイムと標準ライブラリ全体で sys.audit() または PySys_Audit() の呼び出しによって送出されるすべてのイベントを含んでいます。これらの呼び出しは、 3.8 以降に追加されました ( PEP 578 を参照) 。 これらのイベン ... colname [1] socket.sendmsg self , address [1] socket.sendto self , address [1] socket.sethostname name [1] sqlite3.connect database [1] sqlite3.connect/handle connection_handle [1] sqlite3.enable_load_extension connection , enabled [1] sqlite3.load_exten ...
https://man.mtool.work/python/3.14/library/audit_events.html
email.utils: 各種ユーティリティ 7702
email.utils : 各種ユーティリティ ソースコード: Lib/email/utils.py email.utils モジュールには、いくつかの便利なユーティリティがあります: email.utils. localtime ( dt = None ) Return local time as an aware datetime object. If called without ar ... he dt argument should be a datetime instance, and it is converted to the local time zone according to the system time zone database. If dt is naive (that is, dt.tzinfo is None ), it is assumed to be in local time. Added in version 3.3. バージョン 3.12 で ...
https://man.mtool.work/python/3.14/library/email.utils.html
PREV 1 2 3 NEXT