Results of 1 - 10 of about 80 for functions (0.003 sec.)
- Pythonモジュール索引 15259
- 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
...t 非推奨: Removed in 3.12. asyncio Asynchronous I/O. asyncore 非推奨: Removed in 3.12. atexit Register and execute cleanup functions. audioop 非推奨: Removed in 3.13. b base64 RFC 4648: Base16, Base32, Base64 Data Encodings; Base85 and Ascii85 bdb Debugge...iltins The module that provides the built-in namespace. bz2 Interfaces for bzip2 compression and decompression. c calendar Functions for working with calendars, including some emulation of the Unix cal program. cgi 非推奨: Removed in 3.13. cgitb 非推奨: R...emoved in 3.13. chunk 非推奨: Removed in 3.13. cmath Mathematical functions for complex numbers. cmd Build line-oriented command interpreters. code Facilities to implement read-eval-print loops. cod... - https://man.mtool.work/python/3.14/py-modindex.html
- The Python Profilers 12533
- The Python Profilers Source code: Lib/profile.py and Lib/pstats.py Introduction to the profilers cProfile and profile provide deterministic profiling of Python programs. A profile is a set of statistics that describes how often and for how
...applies to benchmarking Python code against C code: the profilers introduce overhead for Python code, but not for C-level functions, and so the C code would seem faster than any Python one. Instant User's Manual This section is provided for users that "d...s for the number of calls. tottime for the total time spent in the given function (and excluding time made in calls to sub-functions) percall is the quotient of tottime divided by ncalls cumtime is the cumulative time spent in this and all subfunctions (f...rom invocation till exit). This figure is accurate even for recursive functions. percall is the quotient of cumtime divided by primitive calls filename:lineno(function) provides the respective data of e... - https://man.mtool.work/python/3.14/library/profile.html
- xmlrpc.server --- 基本的な XML-RPC サーバー 9547
- xmlrpc.server --- 基本的な XML-RPC サーバー ソースコード: Lib/xmlrpc/server.py xmlrpc.server モジュールは、Python で記述する XML-RPC サーバーの基本的なフレームワークを提供します。 SimpleXMLRPCServer を使うと独立したサーバーを作成でき、 CGIX
...る可能性があります。このオプションは閉じた安全なネットワークでのみお使い下さい。 SimpleXMLRPCServer. register_introspection_functions ( ) XML-RPC のイントロスペクション関数、 system.listMethods 、 system.methodHelp 、 system.methodSignature を登録します。...SimpleXMLRPCServer. register_multicall_functions ( ) XML-RPC における複数の要求を処理する関数 system.multicall を登録します。 SimpleXMLRPCRequestHandler. rpc_paths この属性...SimpleXMLRPCServer (( 'localhost' , 8000 ), requestHandler = RequestHandler ) as server : server . register_introspection_functions () # pow() 関数を登録する。 # 名前には pow.__name__ の値、つまり 'pow' が使われる。 server . register_function ( pow ) # 別... - https://man.mtool.work/python/3.14/library/xmlrpc.server.html
- モジュールオブジェクト (module object) 8766
- モジュールオブジェクト (module object) PyTypeObject PyModule_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python のモジュール型を表します。 Python プログラムには types.ModuleType として公開されています。 int PyModule_C
...は UnicodeEncodeError を送出します。これの代わりに PyModule_GetFilenameObject() を使用してください。 Module definitions The functions in the previous section work on any module object, including modules imported from Python code. Modules defined using the...when creating modules dynamically . 詳細は PEP 3121 を参照。 PyMethodDef * m_methods A pointer to a table of module-level functions, described by PyMethodDef values. Can be NULL if no functions are present. PyModuleDef_Slot * m_slots An array of slot def...、インポート機構はデフォルトで Py_MOD_GIL_USED を使います。 Added in version 3.13. 拡張モジュールの動的な作成 The following functions may be used to create a module outside of an extension's initialization function . They are also used in single-phase init... - https://man.mtool.work/python/3.14/c-api/module.html
- リフレクション 8383
- リフレクション PyObject * PyEval_GetBuiltins ( void ) 戻り値: 借用参照。 次に属します: Stable ABI . バージョン 3.13 で非推奨: 代わりに PyEval_GetFrameBuiltins() を使ってください。 現在の実行フレーム内のビルトインの辞書か、もし実行中のフレー
...、" object" があります。 PyEval_GetFuncName() の戻り値に連結すると、 func の説明になります。 他のマニュアルの関連ページ PHP functions.variable-functions Vim userfunc PHP fdf_set_target_frame() Vim vim9 PHP functions.arrow PHP var.setup... - https://man.mtool.work/python/3.14/c-api/reflection.html
- 複素数オブジェクト 8246
- 複素数オブジェクト Python's complex number objects are implemented as two distinct types when viewed from the C API: one is the Python object exposed to Python programs, and the other is a C structure which represents the actual complex num
...ber value. The API provides functions for working with both. C 構造体としての複素数 Note that the functions which accept these structures as parameters and retu...API. type Py_complex The C structure which corresponds to the value portion of a Python complex number object. Most of the functions for dealing with complex number objects use structures of this type as input or output values, as appropriate. double real... - https://man.mtool.work/python/3.14/c-api/complex.html
- 1. Extending Python with C or C++ 8246
- 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
...t types, and they can call C library functions and system calls. To support extensions, the Python API (Application Programmers Interface) defines a set of functions, ma...writing C extensions and preserve portability to other implementations. For example, if your use case is calling C library functions or system calls, you should consider using the ctypes module or the cffi library rather than writing custom C code. These...alled spam (the favorite food of Monty Python fans...) and let's say we want to create a Python interface to the C library function system() [ 1 ] . This function takes a null-terminated character string as argument and returns an integer. We want this fu... - https://man.mtool.work/python/3.14/extending/extending.html
- cmath --- 複素数用の数学関数 8122
- cmath --- 複素数用の数学関数 このモジュールは、複素数を扱う数学関数へのアクセスを提供しています。 このモジュール中の関数は整数、浮動小数点数または複素数を引数にとります。 また、 __complex__() または __float__() どちらかのメソッドを提供してい
...断を持つ関数では、切断そのものの上で関数をどう定義するかが問題になります。 Kahan の論文 "Branch cuts for complex elementary functions" と、C99 以降の C 規格の附属書 G に従い、ゼロの符号で分枝切断のどちら側かを区別します。 実軸の一部に沿った分枝切断では虚部...部がゼロ、虚部が NaN の複素数です。 complex(0.0, float('nan')) と等価です。 Added in version 3.6. Note that the selection of functions is similar, but not identical, to that in module math . The reason for having two modules is that some users aren't intere...ow what they are. They would rather have math.sqrt(-1) raise an exception than return a complex number. Also note that the functions defined in cmath always return a complex number, even if the answer can be expressed as a real number (in which case the c... - https://man.mtool.work/python/3.14/library/cmath.html
- デスクリプタオブジェクト (descriptor object) 7862
- デスクリプタオブジェクト (descriptor object) "デスクリプタ (descriptor)" は、あるオブジェクトのいくつかの属性について記述したオブジェクトです。デスクリプタオブジェクトは型オブジェクトの辞書内にあります。 PyTypeObject PyProperty_Type 次に属し
...ngs to. This is accessible as __objclass__ in Python. descr must be a descriptor object created by one of the PyDescr_New* functions (an instance of PyMethodDescr_Type , PyClassMethodDescr_Type , PyMemberDescr_Type , PyGetSetDescr_Type , or PyWrapperDescr...str object. This is available as __name__ in Python. descr must be a descriptor object created by one of the PyDescr_New* functions. If not, the behavior is undefined. 組み込みデスクリプタ PyTypeObject PySuper_Type 次に属します: Stable ABI . super オブジ...のマニュアルの関連ページ Docker docker buildx imagetools create PHP oci_free_descriptor() Linux JM putpwent(3) DuckDB Nested Functions Linux JM modify_ldt(2) PHP class.mongodb-bson-type... - https://man.mtool.work/python/3.14/c-api/descriptor.html
- 拡張モジュールの定義 7862
- 拡張モジュールの定義 A C extension for CPython is a shared library (for example, a .so file on Linux, .pyd DLL on Windows), which is loadable into the Python process (for example, it is compiled with compatible compiler settings), and which
...pam_module ); } It is possible to export multiple modules from a single shared library by defining multiple initialization functions. However, importing them requires using symbolic links or a custom importer, because by default only the function correspo...PyInit_modulename ) should create, populate and return a module object. This is typically done using PyModule_Create() and functions like PyModule_AddObjectRef() . 一段階初期化は、次の点で デフォルトの方式 と異なります: Single-phase modules are, or rather...When the module is first initialized, Python saves the contents of the module's __dict__ (that is, typically, the module's functions and types). For subsequent imports, Python does not call the initialization function again. Instead, it creates a new modu... - https://man.mtool.work/python/3.14/c-api/extension-modules.html