Results of 1 - 10 of about 18 for PyRun (0.012 sec.)
- 超高水準レイヤ — Python 3.14.8 ドキュメント 13280
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 超高水準レイヤ テーマ 自動 ライト ダーク | 超高水準レイヤ ¶ この章の関数を使うとファイルまたはバッファにある Python ソースコードを
...assed to these functions if it is certain that they were created by the same library that the Python runtime is using. int PyRun_AnyFile ( FILE * fp , const char * filename ) ¶ 下記の PyRun_AnyFileExFlags() の closeit を 0 に、 flags を NULL にして単純...化したインターフェースです。 int PyRun_AnyFileFlags ( FILE * fp , const char * filename , PyCompilerFlags * flags ) ¶ 下記の PyRun_AnyFileExFlags() の closeit を...0 にして単純化したインターフェースです。 int PyRun_AnyFileEx ( FILE * fp , const char * filename , int closeit ) ¶ 下記の PyRun_AnyFileExFlags() の flags を NULL にして単純化... - https://man.mtool.work/python/3.14/c-api/veryhigh.html
- 超高水準レイヤ — Python 3.14.8 ドキュメント 13280
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 超高水準レイヤ テーマ 自動 ライト ダーク | 超高水準レイヤ ¶ この章の関数を使うとファイルまたはバッファにある Python ソースコードを
...assed to these functions if it is certain that they were created by the same library that the Python runtime is using. int PyRun_AnyFile ( FILE * fp , const char * filename ) ¶ 下記の PyRun_AnyFileExFlags() の closeit を 0 に、 flags を NULL にして単純...化したインターフェースです。 int PyRun_AnyFileFlags ( FILE * fp , const char * filename , PyCompilerFlags * flags ) ¶ 下記の PyRun_AnyFileExFlags() の closeit を...0 にして単純化したインターフェースです。 int PyRun_AnyFileEx ( FILE * fp , const char * filename , int closeit ) ¶ 下記の PyRun_AnyFileExFlags() の flags を NULL にして単純化... - https://man.mtool.work/python/3.14/c-api/veryhigh.html
- 索引 — Python 3.14.8 ドキュメント 8699
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ
...acer_GetTracer (C function) PyRefTracer_SetTracer (C function) PyRefTracer_TRACKER_REMOVED (C var) PyReversed_Type (C var) PyRun_AnyFile (C function) PyRun_AnyFileEx (C function) PyRun_AnyFileExFlags (C function) PyRun_AnyFileFlags (C function) PyRun_...File (C function) PyRun_FileEx (C function) PyRun_FileExFlags (C function) PyRun_FileFlags (C function) PyRun_InteractiveLoop (C function) PyRun_I...nteractiveLoopFlags (C function) PyRun_InteractiveOne (C function) PyRun_InteractiveOneFlags (C function) PyRun_InteractiveOneObject (C function) PyRun_SimpleFil... - https://man.mtool.work/python/3.14/genindex-P.html
- 索引 — Python 3.14.8 ドキュメント 8699
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ
...acer_GetTracer (C function) PyRefTracer_SetTracer (C function) PyRefTracer_TRACKER_REMOVED (C var) PyReversed_Type (C var) PyRun_AnyFile (C function) PyRun_AnyFileEx (C function) PyRun_AnyFileExFlags (C function) PyRun_AnyFileFlags (C function) PyRun_...File (C function) PyRun_FileEx (C function) PyRun_FileExFlags (C function) PyRun_FileFlags (C function) PyRun_InteractiveLoop (C function) PyRun_I...nteractiveLoopFlags (C function) PyRun_InteractiveOne (C function) PyRun_InteractiveOneFlags (C function) PyRun_InteractiveOneObject (C function) PyRun_SimpleFil... - https://man.mtool.work/python/3.14/genindex-P.html
- 拡張と埋め込み FAQ — Python 3.14.8 ドキュメント 8476
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python よくある質問 » 拡張と埋め込み FAQ テーマ 自動 ライト ダーク | 拡張と埋め込み FAQ ¶ C で独自の関数を作ることはできますか? ¶ はい。関数、変数、例外、そして新
...o creating C and C++ extensions for Python. C から任意の Python 文を実行するにはどうしますか? ¶ これを行う最高水準の関数は PyRun_SimpleString() で、一つの文字列引数を取り、モジュール __main__ のコンテキストでそれを実行し、成功なら 0 、例外 ( SyntaxErr...or を含む) が発生したら -1 を返します。更に制御したければ、 PyRun_String() を使ってください。ソースは Python/pythonrun.c の ' PyRun_SimpleString() を参照してください。 C から任意の Python...式を評価するにはどうしますか? ¶ 先の質問の PyRun_String() を、スタートシンボル Py_eval_input を渡して呼び出してください。これは式を解析し、評価してその値を返します。 Pytho... - https://man.mtool.work/python/3.14/faq/extending.html
- 拡張と埋め込み FAQ — Python 3.14.8 ドキュメント 8476
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python よくある質問 » 拡張と埋め込み FAQ テーマ 自動 ライト ダーク | 拡張と埋め込み FAQ ¶ C で独自の関数を作ることはできますか? ¶ はい。関数、変数、例外、そして新
...o creating C and C++ extensions for Python. C から任意の Python 文を実行するにはどうしますか? ¶ これを行う最高水準の関数は PyRun_SimpleString() で、一つの文字列引数を取り、モジュール __main__ のコンテキストでそれを実行し、成功なら 0 、例外 ( SyntaxErr...or を含む) が発生したら -1 を返します。更に制御したければ、 PyRun_String() を使ってください。ソースは Python/pythonrun.c の ' PyRun_SimpleString() を参照してください。 C から任意の Python...式を評価するにはどうしますか? ¶ 先の質問の PyRun_String() を、スタートシンボル Py_eval_input を渡して呼び出してください。これは式を解析し、評価してその値を返します。 Pytho... - https://man.mtool.work/python/3.14/faq/extending.html
- Python support for the Linux perf profiler — Python 3.14.8 ドキュメント 8338
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for the Linux perf profiler テーマ 自動 ライト ダーク | Python support for the Linux perf profiler ¶ author : Pablo Galindo The Lin
..._start | ---_start | --90.71%--__libc_start_main Py_BytesMain | |--56.88%--pymain_run_python.constprop.0 | | | |--56.13%--_PyRun_AnyFileObject | | _PyRun_SimpleFileObject | | | | | |--55.02%--run_mod | | | | | | | --54.65%--PyEval_EvalCode | | | _PyEv..._start | ---_start | --89.86%--__libc_start_main Py_BytesMain | |--55.43%--pymain_run_python.constprop.0 | | | |--54.71%--_PyRun_AnyFileObject | | _PyRun_SimpleFileObject | | | | | |--53.62%--run_mod | | | | | | | --53.26%--PyEval_EvalCode | | | py::<... - https://man.mtool.work/python/3.14/howto/perf_profiling.html
- Python support for the Linux perf profiler — Python 3.14.8 ドキュメント 8338
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for the Linux perf profiler テーマ 自動 ライト ダーク | Python support for the Linux perf profiler ¶ author : Pablo Galindo The Lin
..._start | ---_start | --90.71%--__libc_start_main Py_BytesMain | |--56.88%--pymain_run_python.constprop.0 | | | |--56.13%--_PyRun_AnyFileObject | | _PyRun_SimpleFileObject | | | | | |--55.02%--run_mod | | | | | | | --54.65%--PyEval_EvalCode | | | _PyEv..._start | ---_start | --89.86%--__libc_start_main Py_BytesMain | |--55.43%--pymain_run_python.constprop.0 | | | |--54.71%--_PyRun_AnyFileObject | | _PyRun_SimpleFileObject | | | | | |--53.62%--run_mod | | | | | | | --53.26%--PyEval_EvalCode | | | py::<... - https://man.mtool.work/python/3.14/howto/perf_profiling.html
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.14.8 ドキュメント 8030
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. 他のアプリケーションへの Python の埋め込み テーマ 自動 ライト ダーク | 1. 他のアプリケーションへの Python の埋め込み ¶ 前
...ンタプリタを呼び出せるようになります。 インタプリタを呼び出すには、異なるいくつかの方法があります: Python 文が入った文字列を PyRun_SimpleString() に渡す、 stdio ファイルポインタとファイル名 (これはエラーメッセージ内でコードを識別するためだけのものです)...を PyRun_SimpleFile() に渡す、といった具合です。これまでの各章で説明した低水準の操作を呼び出して、Python オブジェクトを構築したり使...y_InitializeFromConfig ( & config ); if ( PyStatus_Exception ( status )) { goto exception ; } PyConfig_Clear ( & config ); PyRun_SimpleString ( "from time import time,ctime \n " "print('Today is', ctime(time())) \n " ); if ( Py_FinalizeEx () < 0 ) { e... - https://man.mtool.work/python/3.14/extending/embedding.html
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.14.8 ドキュメント 8030
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. 他のアプリケーションへの Python の埋め込み テーマ 自動 ライト ダーク | 1. 他のアプリケーションへの Python の埋め込み ¶ 前
...ンタプリタを呼び出せるようになります。 インタプリタを呼び出すには、異なるいくつかの方法があります: Python 文が入った文字列を PyRun_SimpleString() に渡す、 stdio ファイルポインタとファイル名 (これはエラーメッセージ内でコードを識別するためだけのものです)...を PyRun_SimpleFile() に渡す、といった具合です。これまでの各章で説明した低水準の操作を呼び出して、Python オブジェクトを構築したり使...y_InitializeFromConfig ( & config ); if ( PyStatus_Exception ( status )) { goto exception ; } PyConfig_Clear ( & config ); PyRun_SimpleString ( "from time import time,ctime \n " "print('Today is', ctime(time())) \n " ); if ( Py_FinalizeEx () < 0 ) { e... - https://man.mtool.work/python/3.14/extending/embedding.html