Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 162 for module (0.068 sec.)
7. 単純文 (simple statement) — Python 3.6.5 ドキュメント 6576
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... t recent call last): File "<stdin>" , line 2 , in <module> ZeroDivisionError : division by zero The above ex ... t recent call last): File "<stdin>" , line 4 , in <module> RuntimeError : Something bad happened 例外ハンドラ ... t recent call last): File "<stdin>" , line 2 , in <module> ZeroDivisionError : division by zero During handl ... t recent call last): File "<stdin>" , line 4 , in <module> RuntimeError : Something bad happened from 節に N ...
https://man.plustar.jp/python/reference/simple_stmts.html - [similar]
26.5. unittest.mock --- モックオブジェクトライブラリ — Python 3.6.5 ドキュメン... 6531
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... >>> from unittest.mock import patch >>> @patch ( 'module.ClassName2' ) ... @patch ( 'module.ClassName1' ) . ... .. def test ( MockClass1 , MockClass2 ): ... module . ClassName1 () ... module . ClassName2 () ... ass ... ert MockClass1 is module . ClassName1 ... assert MockClass2 is module . Cla ... れます。 つまり下から順に適用されるため、上の例では module.ClassName1 のモックが最初に渡されます。 patch() で ...
https://man.plustar.jp/python/library/unittest.mock.html - [similar]
32.9. pyclbr --- Python クラスブラウザサポート — Python 3.6.5 ドキュメント 6428
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ュールに対して利用することはできません。 pyclbr. readmodule ( module , path=None ) ¶ モジュールを読み込み、クラ ... 記述オブジェクトにマップする辞書を返します。パラメタ module はモジュール名を表す文字列でなくてはなりません; パ ... る際に sys.path の値に加えて使われます。 pyclbr. readmodule_ex ( module , path=None ) ¶ readmodule() に似ていま ... 1. クラスオブジェクト ¶ Class オブジェクトは、 readmodule() や readmodule_ex() が返す辞書の値として使われてお ...
https://man.plustar.jp/python/library/pyclbr.html - [similar]
29.12. inspect --- 活動中のオブジェクトの情報を取得する — Python 3.6.5 ドキュメ... 6382
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ame__ クラスの定義名 __qualname__ qualified name __module__ クラスを定義しているモジュールの名前 メソッド __ ... スで定義されたクラス属性のみを返します。 inspect. getmodulename ( path ) ¶ Return the name of the module named ... n only returns a meaningful name for actual Python modules - paths that potentially refer to Python packages ... nction is based directly on importlib . inspect. ismodule ( object ) ¶ オブジェクトがモジュールの場合真を返し ...
https://man.plustar.jp/python/library/inspect.html - [similar]
27.7. tracemalloc --- メモリ割り当ての追跡 — Python 3.6.5 ドキュメント 6382
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... loaded 4855 KiB data (bytecode and constants) from modules and that the collections module allocated 244 KiB ... 46 B We can see that Python has loaded 8173 KiB of module data (bytecode and constants), and that this is 44 ... vious snapshot was taken. Similarly, the linecache module has cached 940 KiB of Python source code to format ... hat the most memory was allocated in the importlib module to load data (bytecode and constants) from modules ...
https://man.plustar.jp/python/library/tracemalloc.html - [similar]
29.5. warnings --- 警告の制御 — Python 3.6.5 ドキュメント 6382
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ィルタの各エントリは ( action , message , category , module , lineno ) からなるタプルです。ここで: action は以 ... ースコード上の場所ごとに、最初の警告のみ出力します "module" 一致した警告のうち、警告の原因になったモジュールご ... はこのクラスのサブクラスに一致しなければなりません。 module は正規表現を含む文字列で、モジュール名はこのパター ... xplicit ( message , category , filename , lineno , module=None , registry=None , module_globals=None , sourc ...
https://man.plustar.jp/python/library/warnings.html - [similar]
2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 6279
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... FAULT , . tp_new = PyType_GenericNew , }; static PyModuleDef custommodule = { PyModuleDef_HEAD_INIT , . m_na ... me = "custom" , . m_doc = "Example module that creates an extension type." , . m_size = -1 , ... e_Ready ( & CustomType ) < 0 ) return NULL ; m = PyModule_Create ( & custommodule ); if ( m == NULL ) return ... NULL ; Py_INCREF ( & CustomType ); PyModule_AddObject ( m , "Custom" , ( PyObject * ) & Custom ...
https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 6279
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... ンのモジュールです: import logging import auxiliary_module # create logger with 'spam_application' logger = l ... logger . info ( 'creating an instance of auxiliary_module.Auxiliary' ) a = auxiliary_module . Auxiliary () l ... ogger . info ( 'created an instance of auxiliary_module.Auxiliary' ) logger . info ( 'calling auxiliary_mo ... o_something () logger . info ( 'finished auxiliary_module.Auxiliary.do_something' ) logger . info ( 'calling ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
What's New in Python 2.3 — Python 3.6.5 ドキュメント 6279
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ブからモジュールをインポートする ¶ The new zipimport module adds support for importing modules from a ZIP-form ... at archive. You don't need to import the module explicitly; it will be automatically imported if a ... ます。 インポーターオブジェクトは一つのメソッド find_module(fullname, path=None) を持たなければなりません。 fu ... 前です。例えば string や distutils.core です。 find_module() メソッドは一つのメソッド load_module(fullname) を ...
https://man.plustar.jp/python/whatsnew/2.3.html - [similar]
Python で Curses プログラミング — Python 3.6.5 ドキュメント 6233
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... ndows version of Python doesn't include the curses module. A ported version called UniCurses is available. Y ... ou could also try the Console module written by Fredrik Lundh, which doesn't use the sa ... ort for mouse and keyboard input. Python の curses module ¶ The Python module is a fairly simple wrapper ove ... 4:blue, 5:magenta, 6:cyan, and 7:white. The curses module defines named constants for each of these colors: ...
https://man.plustar.jp/python/howto/curses.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT