Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 230 for NAME (0.053 sec.)
31.5. importlib --- import の実装 — Python 3.6.5 ドキュメント 7948
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ディレクトリ 31.5.2. 関数 ¶ importlib. __import__ ( name , globals=None , locals=None , fromlist=() , level ... le() を使ってください。 importlib. import_module ( name , package=None ) ¶ モジュールをインポートします。 ... 対表現 (例えば pkg.mod または ..mod ) で指定します。name が相対表現で与えられたら、 package 引数を、パッケー ... 動的にインポートされます。 importlib. find_loader ( name , path=None ) ¶ モジュールのローダーを、オプション ...
https://man.plustar.jp/python/library/importlib.html - [similar]
オブジェクトプロトコル (object protocol) — Python 3.6.5 ドキュメント 7495
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... nt PyObject_HasAttr ( PyObject *o , PyObject *attr_name ) ¶ o が属性 attr_name を持つときに 1 を、それ以外 ... を返します。この関数は Python の式 hasattr(o, attr_name) と同じです。この関数は常に成功します。 int PyObje ... ct_HasAttrString ( PyObject *o , const char *attr_name ) ¶ o が属性 attr_name を持つときに 1 を、それ以外 ... を返します。この関数は Python の式 hasattr(o, attr_name) と同じです。この関数は常に成功します。 PyObject * ...
https://man.plustar.jp/python/c-api/object.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 7392
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... ormatter = logging . Formatter ( ' %(asctime)s - %(name)s - %(levelname)s - %(message)s ' ) fh . setFormat ... . DEBUG , format = ' %(relativeCreated)6d %(threadName)s %(message)s ' ) info = { 'stop' : False } thread ... info [ 'stop' ] = True break thread . join () if __name__ == '__main__' : main () When run, the script sho ... ormatter = logging . Formatter ( ' %(asctime)s - %(name)s - %(levelname)s - %(message)s ' ) ch . setFormat ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
7. 使用例 — Python 3.6.5 ドキュメント 7052
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... になります: from distutils.core import setup setup ( name = 'foo' , version = '1.0' , py_modules = [ 'foo' ] ... , ) 配布物の名前は name オプションで個々に指定し、配布されるモジュールの一 ... になります from distutils.core import setup setup ( name = 'foobar' , version = '1.0' , py_modules = [ 'foo ... クリプトは from distutils.core import setup setup ( name = 'foobar' , version = '1.0' , packages = [ '' ], ...
https://man.plustar.jp/python/distutils/examples.html - [similar]
13.6. tarfile --- tar アーカイブファイルの読み書き — Python 3.6.5 ドキュメント 7052
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ) フォーマットの読み書きをサポートしています。 longname および longlink 拡張を含む GNU tar フォーマットの読 ... 変更: lzma 圧縮をサポートしました。 tarfile. open ( name=None , mode='r' , fileobj=None , bufsize=10240 , * ... *kwargs ) ¶ パス名 name の TarFile オブジェクトを返します。 TarFile オブジ ... 出されます。 もし fileobj が指定されていれば、それは name でバイナリモードでオープンされた ファイルオブジェク ...
https://man.plustar.jp/python/library/tarfile.html - [similar]
19.1.1. email.message: 電子メールメッセージの表現 — Python 3.6.5 ドキュメント 6857
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... nt ). Headers are RFC 5322 or RFC 6532 style field names and values, where the field name and value are se ... a colon. The colon is not part of either the field name or the field value. The payload may be a simple te ... normal dictionary methods for accessing the header names and values, there are methods for accessing speci ... dictionary-like interface is indexed by the header names, which must be ASCII values. The values of the di ...
https://man.plustar.jp/python/library/email.message.html - [similar]
29.12. inspect --- 活動中のオブジェクトの情報を取得する — Python 3.6.5 ドキュメ... 6826
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... は存在しません) クラス __doc__ ドキュメント文字列 __name__ クラスの定義名 __qualname__ qualified name __mod ... ジュールの名前 メソッド __doc__ ドキュメント文字列 __name__ メソッドの定義名 __qualname__ qualified name __f ... ンス、または None 関数 __doc__ ドキュメント文字列 __name__ 関数の定義名 __qualname__ qualified name __code_ ... たバイトコードそのままの文字列 co_cellvars tuple of names of cell variables (referenced by containing scope ...
https://man.plustar.jp/python/library/inspect.html - [similar]
26.5. unittest.mock --- モックオブジェクトライブラリ — Python 3.6.5 ドキュメン... 6826
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ittest.mock import patch >>> @patch ( 'module.ClassName2' ) ... @patch ( 'module.ClassName1' ) ... def tes ... t ( MockClass1 , MockClass2 ): ... module . ClassName1 () ... module . ClassName2 () ... assert MockClas ... s1 is module . ClassName1 ... assert MockClass2 is module . ClassName2 ... ... まり下から順に適用されるため、上の例では module.ClassName1 のモックが最初に渡されます。 patch() では探索され ...
https://man.plustar.jp/python/library/unittest.mock.html - [similar]
34.1. msilib --- Microsoft インストーラーファイルの読み書き — Python 3.6.5 ドキ... 6784
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... なテーブル構造、の四つです。 msilib. FCICreate ( cabname , files ) ¶ 新しい CAB ファイルを cabname という名 ... コードのフィールドの数です。 msilib. init_database ( name , schema , ProductName , ProductCode , ProductVers ... ion , Manufacturer ) ¶ name という名前の新しいデータベースを作り、 schema で初 ... 期化し、プロパティ ProductName , ProductCode , ProductVersion , Manufacturer をセ ...
https://man.plustar.jp/python/library/msilib.html - [similar]
10.3. operator --- 関数形式の標準演算子 — Python 3.6.5 ドキュメント 6640
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ドットを含むこともできます。例えば: f = attrgetter('name') とした後で、 f(b) を呼び出すと b.name を返します ... 。 f = attrgetter('name', 'date') とした後で、 f(b) を呼び出すと (b.name, ... b.date) を返します。 f = attrgetter('name.first', 'name.last') とした後で、 f(b) を呼び出すと ... (b.name.first, b.name.last) を返します。 次と等価です: def ...
https://man.plustar.jp/python/library/operator.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT