Results of 1 - 10 of about 11 for argc (0.009 sec.)
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.14.8 ドキュメント 10491
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. 他のアプリケーションへの Python の埋め込み テーマ 自動 ライト ダーク | 1. 他のアプリケーションへの Python の埋め込み ¶ 前
...れは、一つのファイル上で何らかの操作を実現するのに利用できます。 #define PY_SSIZE_T_CLEAN #include <Python.h> int main ( int argc , char * argv []) { PyStatus status ; PyConfig config ; PyConfig_InitPythonConfig ( & config ); /* optional but recommende...定義されている関数を実行するためのコードは以下のようになります: #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 ) { fprin...( pModule , argv [ 2 ]); /* pFunc is a new reference */ if ( pFunc && PyCallable_Check ( pFunc )) { pArgs = PyTuple_New ( argc - 3 ); for ( i = 0 ; i < argc - 3 ; ++ i ) { pValue = PyLong_FromLong ( atoi ( argv [ i + 3 ])); if ( ! pValue ) { Py_DECR... - https://man.mtool.work/python/3.14/extending/embedding.html
- インタープリタの初期化と終了処理 — Python 3.14.8 ドキュメント 10082
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » インタープリタの初期化と終了処理 テーマ 自動 ライト ダーク | インタープリタの初期化と終了処理 ¶ See Python Initialization Configu
...次に属します: Stable ABI . この関数は Py_FinalizeEx() の後方互換性バージョンで、戻り値がありません。 int Py_BytesMain ( int argc , char * * argv ) ¶ 次に属します: Stable ABI (バージョン 3.8 より). Similar to Py_Main() but argv is an array of bytes str...the calling application to delegate the text decoding step to the CPython runtime. Added in version 3.8. int Py_Main ( int argc , wchar_t * * argv ) ¶ 次に属します: Stable ABI . The main program for the standard interpreter, encapsulating a full init...support the full CPython command line interface, rather than just embedding a Python runtime in a larger application. The argc and argv parameters are similar to those which are passed to a C program's main() function, except that the argv entries a... - https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
- dis --- Python バイトコードの逆アセンブラー — Python 3.14.8 ドキュメント 10082
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » dis --- Python バイトコードの逆アセンブラー テーマ 自動 ライト ダーク | dis --- Python バイトコードの逆アセンブ
...rame. Removes the need for special code on the caller's side when calling closures. Added in version 3.11. RAISE_VARARGS ( argc ) ¶ Raises an exception using one of the 3 forms of the raise statement, depending on the value of argc : 0: raise (re-rai...2: raise STACK[-2] from STACK[-1] (raise exception instance or type at STACK[-2] with __cause__ set to STACK[-1] ) CALL ( argc ) ¶ Calls a callable object with the number of arguments specified by argc . On the stack are (in ascending order): The ca...llable self or NULL The remaining positional arguments argc is the total of the positional arguments, excluding self . CALL pops all arguments and the callable object off the stack,... - https://man.mtool.work/python/3.14/library/dis.html
- インタープリタの初期化と終了処理 — Python 3.14.8 ドキュメント 10082
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » インタープリタの初期化と終了処理 テーマ 自動 ライト ダーク | インタープリタの初期化と終了処理 ¶ See Python Initialization Configu
...次に属します: Stable ABI . この関数は Py_FinalizeEx() の後方互換性バージョンで、戻り値がありません。 int Py_BytesMain ( int argc , char * * argv ) ¶ 次に属します: Stable ABI (バージョン 3.8 より). Similar to Py_Main() but argv is an array of bytes str...the calling application to delegate the text decoding step to the CPython runtime. Added in version 3.8. int Py_Main ( int argc , wchar_t * * argv ) ¶ 次に属します: Stable ABI . The main program for the standard interpreter, encapsulating a full init...support the full CPython command line interface, rather than just embedding a Python runtime in a larger application. The argc and argv parameters are similar to those which are passed to a C program's main() function, except that the argv entries a... - https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
- dis --- Python バイトコードの逆アセンブラー — Python 3.14.8 ドキュメント 10082
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » dis --- Python バイトコードの逆アセンブラー テーマ 自動 ライト ダーク | dis --- Python バイトコードの逆アセンブ
...rame. Removes the need for special code on the caller's side when calling closures. Added in version 3.11. RAISE_VARARGS ( argc ) ¶ Raises an exception using one of the 3 forms of the raise statement, depending on the value of argc : 0: raise (re-rai...2: raise STACK[-2] from STACK[-1] (raise exception instance or type at STACK[-2] with __cause__ set to STACK[-1] ) CALL ( argc ) ¶ Calls a callable object with the number of arguments specified by argc . On the stack are (in ascending order): The ca...llable self or NULL The remaining positional arguments argc is the total of the positional arguments, excluding self . CALL pops all arguments and the callable object off the stack,... - https://man.mtool.work/python/3.14/library/dis.html
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.14.8 ドキュメント 9886
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. 他のアプリケーションへの Python の埋め込み テーマ 自動 ライト ダーク | 1. 他のアプリケーションへの Python の埋め込み ¶ 前
...れは、一つのファイル上で何らかの操作を実現するのに利用できます。 #define PY_SSIZE_T_CLEAN #include <Python.h> int main ( int argc , char * argv []) { PyStatus status ; PyConfig config ; PyConfig_InitPythonConfig ( & config ); /* optional but recommende...定義されている関数を実行するためのコードは以下のようになります: #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 ) { fprin...( pModule , argv [ 2 ]); /* pFunc is a new reference */ if ( pFunc && PyCallable_Check ( pFunc )) { pArgs = PyTuple_New ( argc - 3 ); for ( i = 0 ; i < argc - 3 ; ++ i ) { pValue = PyLong_FromLong ( atoi ( argv [ i + 3 ])); if ( ! pValue ) { Py_DECR... - https://man.mtool.work/python/3.14/extending/embedding.html
- Python 初期化設定 — Python 3.14.8 ドキュメント 9477
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia
...い。 参考 PEP 587 "Python 初期化設定" 使用例 ¶ Example of customized Python always running in isolated mode: int main ( int argc , char ** argv ) { PyStatus status ; PyConfig config ; PyConfig_InitPythonConfig ( & config ); config . isolated = 1 ; /*...command line arguments. Implicitly preinitialize Python (in isolated mode). */ status = PyConfig_SetBytesArgv ( & config , argc , argv ); if ( PyStatus_Exception ( status )) { goto exception ; } status = Py_InitializeFromConfig ( & config ); if ( PyS...= PyMem_RawMalloc ( size ); if ( * ptr == NULL ) { return PyStatus_NoMemory (); } return PyStatus_Ok (); } int main ( int argc , char ** argv ) { void * ptr ; PyStatus status = alloc ( & ptr , 16 ); if ( PyStatus_Exception ( status )) { Py_ExitStatu... - https://man.mtool.work/python/3.14/c-api/init_config.html
- Python 初期化設定 — Python 3.14.8 ドキュメント 9477
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia
...い。 参考 PEP 587 "Python 初期化設定" 使用例 ¶ Example of customized Python always running in isolated mode: int main ( int argc , char ** argv ) { PyStatus status ; PyConfig config ; PyConfig_InitPythonConfig ( & config ); config . isolated = 1 ; /*...command line arguments. Implicitly preinitialize Python (in isolated mode). */ status = PyConfig_SetBytesArgv ( & config , argc , argv ); if ( PyStatus_Exception ( status )) { goto exception ; } status = Py_InitializeFromConfig ( & config ); if ( PyS...= PyMem_RawMalloc ( size ); if ( * ptr == NULL ) { return PyStatus_NoMemory (); } return PyStatus_Ok (); } int main ( int argc , char ** argv ) { void * ptr ; PyStatus status = alloc ( & ptr , 16 ); if ( PyStatus_Exception ( status )) { Py_ExitStatu... - https://man.mtool.work/python/3.14/c-api/init_config.html
- 1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 6081
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...endInittab() , optionally followed by an import of the module: #define PY_SSIZE_T_CLEAN #include <Python.h> int main ( int argc , char * argv []) { PyStatus status ; PyConfig config ; PyConfig_InitPythonConfig ( & config ); /* Add a built-in module,... - https://man.mtool.work/python/3.14/extending/extending.html
- 1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 6081
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...endInittab() , optionally followed by an import of the module: #define PY_SSIZE_T_CLEAN #include <Python.h> int main ( int argc , char * argv []) { PyStatus status ; PyConfig config ; PyConfig_InitPythonConfig ( & config ); /* Add a built-in module,... - https://man.mtool.work/python/3.14/extending/extending.html