Results of 1 - 5 of about 5 for pModule (0.033 sec.)
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.14.8 ドキュメント 11435
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. 他のアプリケーションへの Python の埋め込み テーマ 自動 ライト ダーク | 1. 他のアプリケーションへの Python の埋め込み ¶ 前
...のようになります: #define PY_SSIZE_T_CLEAN #include <Python.h> int main ( int argc , char * argv []) { PyObject * pName , * pModule , * pFunc ; PyObject * pArgs , * pValue ; int i ; if ( argc < 3 ) { fprintf ( stderr , "Usage: call pythonfile funcname [a...); return 1 ; } Py_Initialize (); pName = PyUnicode_DecodeFSDefault ( argv [ 1 ]); /* Error checking of pName left out */ pModule = PyImport_Import ( pName ); Py_DECREF ( pName ); if ( pModule != NULL ) { pFunc = PyObject_GetAttrString ( pModule , argv...argc - 3 ; ++ i ) { pValue = PyLong_FromLong ( atoi ( argv [ i + 3 ])); if ( ! pValue ) { Py_DECREF ( pArgs ); Py_DECREF ( pModule ); fprintf ( stderr , "Cannot convert argument \n " ); return 1 ; } /* pValue reference stolen here: */ PyTuple_SetItem (... - https://man.mtool.work/python/3.14/extending/embedding.html
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.14.8 ドキュメント 11435
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. 他のアプリケーションへの Python の埋め込み テーマ 自動 ライト ダーク | 1. 他のアプリケーションへの Python の埋め込み ¶ 前
...のようになります: #define PY_SSIZE_T_CLEAN #include <Python.h> int main ( int argc , char * argv []) { PyObject * pName , * pModule , * pFunc ; PyObject * pArgs , * pValue ; int i ; if ( argc < 3 ) { fprintf ( stderr , "Usage: call pythonfile funcname [a...); return 1 ; } Py_Initialize (); pName = PyUnicode_DecodeFSDefault ( argv [ 1 ]); /* Error checking of pName left out */ pModule = PyImport_Import ( pName ); Py_DECREF ( pName ); if ( pModule != NULL ) { pFunc = PyObject_GetAttrString ( pModule , argv...argc - 3 ; ++ i ) { pValue = PyLong_FromLong ( atoi ( argv [ i + 3 ])); if ( ! pValue ) { Py_DECREF ( pArgs ); Py_DECREF ( pModule ); fprintf ( stderr , "Cannot convert argument \n " ); return 1 ; } /* pValue reference stolen here: */ PyTuple_SetItem (... - https://man.mtool.work/python/3.14/extending/embedding.html
- 1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 7813
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. Extending Python with C or C++ テーマ 自動 ライト ダーク | 1. Extending Python with C or C++ ¶ It is quite easy to add n
.../* Optionally import the module; alternatively, import can be deferred until the embedded script imports it. */ PyObject * pmodule = PyImport_ImportModule ( "spam" ); if ( ! pmodule ) { PyErr_Print (); fprintf ( stderr , "Error: could not import module... - https://man.mtool.work/python/3.14/extending/extending.html
- 1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 7813
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. Extending Python with C or C++ テーマ 自動 ライト ダーク | 1. Extending Python with C or C++ ¶ It is quite easy to add n
.../* Optionally import the module; alternatively, import can be deferred until the embedded script imports it. */ PyObject * pmodule = PyImport_ImportModule ( "spam" ); if ( ! pmodule ) { PyErr_Print (); fprintf ( stderr , "Error: could not import module... - https://man.mtool.work/python/3.14/extending/extending.html
- 変更履歴 — Python 3.14.8 ドキュメント 7445
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...cket or is stored on the server object) were not affected. This addresses CVE 2026-19445 . gh-155292 : Change the stringprep module and encodings.idna codec to not consider Unicode codepoint attributes beyond those defined in RFC 3454 . gh-155694 : Fix...at) : use PyFloat_Pack4() to raise OverflowError . Patch by Sergey B Kirpichev and Victor Stinner. gh-146310 : The ensurepip module no longer looks for pip-*.whl wheel packages in the current directory. gh-146083 : Update bundled libexpat to version 2.7...nt on Linux 2.4 and later. gh-132995 : Bump the version of pip bundled in ensurepip to version 25.1.1 gh-132933 : The zipapp module now applies the filter when creating the list of files to add, rather than waiting until the file is being added to the a... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV
1
NEXT