Results of 1 - 10 of about 24 for stored (0.005 sec.)
- dbm --- Unix "データベース" へのインターフェース 15312
- 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
...ッドはビューオブジェクトではなくリストを返します。 setdefault() メソッドには引数が 2 つ必要です。 Key and values are always stored as bytes . This means that when strings are used they are implicitly converted to the default encoding before being stored...r , bytes , int , float , bool , bytearray , memoryview , and array.array objects. Storage format: All keys and values are stored as bytes objects in the database. When retrieving, you'll always get bytes back, regardless of the original type stored. T...ype conversion examples: db['key'] = 'string' stored as b'string' db['key'] = bytearray(b'data') stored as b'data' ( dbm.dumb and dbm.sqlite3 only) db['key'] = 42 stored as b'... - https://man.mtool.work/python/3.14/library/dbm.html
- zipfile --- ZIP アーカイブの処理 10942
- zipfile --- ZIP アーカイブの処理 Source code: Lib/zipfile/ ZIP は一般によく知られているアーカイブ (書庫化) および圧縮の標準ファイルフォーマットです。このモジュールでは ZIP 形式のファイルの作成、読み書き、追記、書庫内のファイル一覧の作成を行
...クトを渡すこともできます。 バージョン 3.1 で変更: ファイルおよびファイルライクオブジェクトをサポートしました。 zipfile. ZIP_STORED アーカイブメンバを圧縮しない (複数ファイルを一つにまとめるだけ) ことを表す数値定数です。 zipfile. ZIP_DEFLATED 通常の ZIP...びプログラム開発ライブラリに関する情報。 ZipFile オブジェクト class zipfile. ZipFile ( file , mode = 'r' , compression = ZIP_STORED , allowZip64 = True , compresslevel = None , * , strict_timestamps = True , metadata_encoding = None ) ZIP ファイルを開きま...r' か 'a' の場合、ファイルはシーク可能である必要があります。 compression はアーカイブの書き込みに使う ZIP 圧縮方式で、 ZIP_STORED 、 ZIP_DEFLATED 、 ZIP_BZIP2 、 ZIP_LZMA 、 ZIP_ZSTANDARD のいずれかを指定します。 認識できない値を指定すると NotImplement... - https://man.mtool.work/python/3.14/library/zipfile.html
- ファイルオブジェクト 10358
- ファイルオブジェクト これらの API は、C 標準ライブラリのバッファ付き I/O ( FILE * ) に依存していた Python 2 の組み込みファイルオブジェクトの C API を、最小限エミュレートするものです。 Python 3 のファイルやストリームは新しい io モジュールを使
...) , but treating all of \n , \r and \r\n as line endings (see universal newlines ). Any \r or \r\n read from the stream is stored in buf as a single \n . At most n - 1 characters are stored in buf ; reading stops after a newline has been stored or when... - https://man.mtool.work/python/3.14/c-api/file.html
- アノテーションのベストプラクティス 8173
- アノテーションのベストプラクティス author : Larry Hastings 概要 このドキュメントは、アノテーションの辞書を扱う上でのベストプラクティスをまとめるものです。Python オブジェクトに付与された __annotations__ を Python コードからアクセスする際には
...注釈 On Python 3.14 and later, annotations are evaluated lazily (see PEP 649 and PEP 749 ), and how the annotations dict is stored in the class's __dict__ is a private implementation detail. Reading cls.__dict__.get('__annotations__', None) may therefor... - https://man.mtool.work/python/3.14/howto/annotations.html
- array --- 効率的な数値配列 8173
- array --- 効率的な数値配列 This module defines an object type which can compactly represent an array of basic values: characters, integers, floating-point numbers. Arrays are mutable sequence types and behave very much like lists, except th
...at the type of objects stored in them is constrained. The type is specified at object creation time by using a type code , which is a single character.... - https://man.mtool.work/python/3.14/library/array.html
- 1. Extending Python with C or C++ 7973
- 1. Extending Python with C or C++ It is quite easy to add new built-in modules to Python, if you know how to program in C. Such extension modules can do two things that can't be done directly in Python: they can implement new built-in objec
...ut this later. PyArg_ParseTuple() returns true (nonzero) if all arguments have the right type and its components have been stored in the variables whose addresses are passed. It returns false (zero) if an invalid argument list was passed. In the latter...s, it should set an exception condition and return an error value (usually -1 or a NULL pointer). Exception information is stored in three members of the interpreter's thread state. These are NULL if there is no exception. Otherwise they are the C equi... - https://man.mtool.work/python/3.14/extending/extending.html
- xmlrpc.client --- XML-RPC クライアントアクセス 7973
- xmlrpc.client --- XML-RPC クライアントアクセス ソースコード: Lib/xmlrpc/client.py XML-RPCはXMLを利用した遠隔手続き呼び出し(Remote Procedure Call)の一種で、HTTP(S)をトランスポートとして使用します。XML- RPCでは、クライアントはリモートサーバ(U
...ly return None , and only store the call name and parameters in the MultiCall object. Calling the object itself causes all stored calls to be transmitted as a single system.multicall request. The result of this call is a generator ; iterating over this... - https://man.mtool.work/python/3.14/library/xmlrpc.client.html
- zlib --- gzip 互換の圧縮 7973
- zlib --- gzip 互換の圧縮 データ圧縮が必要なアプリケーションでは、このモジュールの関数を使い、 zlib library による圧縮と展開を行えます。 これは オプションモジュール です。 使用している CPython に含まれていない場合は、配布元 (Python を提供した
...longer than max_length . This may mean that not all of the compressed input can be processed; and unconsumed data will be stored in the attribute unconsumed_tail . This bytestring must be passed to a subsequent call to decompress() if decompression is... - https://man.mtool.work/python/3.14/library/zlib.html
- 6. 式 (expression) 7973
- 6. 式 (expression) この章では、Python の式における個々の要素の意味について解説します。 構文上の注意: この章以降では、 文法の表記法 を字句解析ではなく構文の記述に使います。 構文規則の (選択肢の 1 つの) 形式が次のように記述され、 name : other
...all mutable objects.) Clashes between duplicate keys are not detected; the last value (textually rightmost in the display) stored for a given key value prevails. バージョン 3.8 で変更: Python 3.8 より前のバージョンでは、辞書内包表記において、キーと値の...d to get an instance. If traceback is provided, it is set on the exception, otherwise any existing __traceback__ attribute stored in value may be cleared. バージョン 3.12 で変更: The second signature (type[, value[, traceback]]) is deprecated and may b... - https://man.mtool.work/python/3.14/reference/expressions.html
- 引数の解釈と値の構築 7773
- 引数の解釈と値の構築 これらの関数は、独自の拡張関数やメソッドを作成するときに便利です。 追加の情報や例は Python インタプリタの拡張と埋め込み を参照してください。 最初に説明する 3 つの関数、 PyArg_ParseTuple() , PyArg_ParseTupleAndKeywords()
...signed char に格納します。 B ( int ) [unsigned char] Convert a Python integer to a tiny integer without overflow checking, stored in a C unsigned char . h ( int ) [short int] Python の整数を、 C の short int 型に変換します。 H ( int ) [unsigned short i... - https://man.mtool.work/python/3.14/c-api/arg.html