Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 162 for module (0.043 sec.)
31.5. importlib --- import の実装 — Python 3.6.5 ドキュメント 12318
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... はこの仕様が書かれた頃から変更されています (例: sys.modules で None に基づくリダイレクト)。 __import__() 関数 ... 前空間パッケージ PEP 451 インポートシステムのための ModuleSpec 型 PEP 488 PYO ファイルの撤廃 PEP 489 複数フェ ... ールをインポートする場合はこの関数の代わりに import_module() を使ってください。 importlib. import_module ( na ... ケージの名前に設定する必要があります (例えば import_module('..mod', 'pkg.subpkg') は pkg.mod をインポートしま ...
https://man.plustar.jp/python/library/importlib.html - [similar]
モジュールオブジェクト (module object) — Python 3.6.5 ドキュメント 11575
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... (concrete object) レイヤ » モジュールオブジェクト (module object) ¶ PyTypeObject PyModule_Type ¶ この PyType ... す。このオブジェクトは、Python プログラムには types.ModuleType として公開されています。 int PyModule_Check ( ... ジェクトのサブタイプであるときに真を返します。 int PyModule_CheckExact ( PyObject *p ) ¶ p がモジュールオブジェ ... オブジェクトのサブタイプでないときに真を返します。 PyModule_Type . PyObject * PyModule_NewObject ( PyObject *n ...
https://man.plustar.jp/python/c-api/module.html - [similar]
5. インポートシステム — Python 3.6.5 ドキュメント 10786
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... ンス » 5. インポートシステム ¶ ある 1 つの module にある Python コードから他のモジュールをインポート ... 、それが唯一の方法ではありません。 importlib.import_module() や組み込みの __import__() といった関数を使っても ... 成処理が行われます。親パッケージのインポートや ( sys.modules を含む) 様々なキャッシュの更新などの副作用は起きる ... ステムを起動する他の機構 (たとえば importlib.import_module() など) は、 __import__() を覆すことを選んで固有の ...
https://man.plustar.jp/python/reference/import.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 9791
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... りました。 標準ライブラリーの顕著な改善 The asyncio module has received new features, significant usability a ... of bug fixes. Starting with Python 3.6 the asyncio module is no longer provisional and its API is considered ... 照してください。 セキュリティの改善: The new secrets module has been added to simplify the generation of crypt ... have all relevant functions in the os and os.path modules, and most other functions and classes in the stan ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
36.2. imp --- import 内部へのアクセス — Python 3.6.5 ドキュメント 8898
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... inery で定義された定数を使ってください。 imp. find_module ( name [ , path ] ) ¶ モジュール name を見つけよう ... P のサブモジュール M を見つけるためには、まず find_module() と load_module() を使用してパッケージ P を見つけ ... ロードして、次に P.__path__ を path 引数にして find_module() を呼び出してください。もし P 自体がドット付きの名 ... -examples セクションを参照してください。 imp. load_module ( name , file , pathname , description ) ¶ find_mo ...
https://man.plustar.jp/python/library/imp.html - [similar]
31.4. runpy --- Python モジュールの位置特定と実行 — Python 3.6.5 ドキュメント 8407
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... モジュールは2つの関数を提供しています: runpy. run_module ( mod_name , init_globals=None , run_name=None , a ... れます。 The mod_name argument should be an absolute module name. If the module name refers to a package rathe ... r than a normal module, then that package is imported and the __main__ su ... bmodule within that package is then executed and the resul ...
https://man.plustar.jp/python/library/runpy.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 7960
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... できます。 >>> def some_function (): ... instance = module . Foo () ... return instance . method () ... >>> w ... ith patch ( 'module.Foo' ) as mock : ... instance = mock . return_valu ... dict() です。 patch はパッチ対象を指定する package.module.Class.attribute の形式の文字列を引数に取ります。オ ... lass . attribute == original >>> @patch ( 'package.module.attribute' , sentinel . attribute ) ... def test ( ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
Python 3 への拡張モジュール移植 — Python 3.6.5 ドキュメント 7812
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... の方法を実演してみます。 #include "Python.h" struct module_state { PyObject * error ; }; #if PY_MAJOR_VERSION ... >= 3 #define GETSTATE(m) ((struct module_state*)PyModule_GetState(m)) #else #define GETSTAT ... E(m) (&_state) static struct module_state _state ; #endif static PyObject * error_out ... ( PyObject * m ) { struct module_state * st = GETSTATE ( m ); PyErr_SetString ( st ...
https://man.plustar.jp/python/howto/cporting.html - [similar]
Pythonモジュール索引 — Python 3.6.5 ドキュメント 7812
ナビゲーション 索引 モジュール | Python » 3.6.5 ドキュメント » Pythonモジュール索引 _ | a | b | ... _dummy_thread Drop-in replacement for the _thread module. _thread Low-level threading API. a abc Abstract b ... tion algorithms for binary searching. builtins The module that provides the built-in namespace. bz2 Interfac ... figurable traceback handler for CGI scripts. chunk Module to read IFF chunks. cmath Mathematical functions f ... stutils Support for building and installing Python modules into an existing Python installation. distutils.a ...
https://man.plustar.jp/python/py-modindex.html - [similar]
Argument Clinic How-To — Python 3.6.5 ドキュメント 7766
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu ... the function—it should start with the name of the module, include any sub-modules, and if the function is a ... t generated code]*/ If this is the first time that module or class has been used with Argument Clinic in thi ... s C file, you must declare the module and/or class. Proper Argument Clinic hygiene prefe ... cks next to each other.) The name of the class and module should be the same as the one seen by Python. Chec ...
https://man.plustar.jp/python/howto/clinic.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT