Results of 1 - 10 of about 33 for executable (0.006 sec.)
- Python 初期化設定 12289
- Python 初期化設定 PyInitConfig C API Added in version 3.14. Python は Py_InitializeFromInitConfig() で初期化できます。 Py_RunMain() 関数は、カスタマイズされた Python プログラムを書くために使用できます。 Initialization, Finalization, and Thr
...可視性 "allocator" allocator int 読み出し専用 "argv" argv list[str] 公開 "base_exec_prefix" base_exec_prefix str 公開 "base_executable" base_executable str 公開 "base_prefix" base_prefix str 公開 "buffered_stdio" buffered_stdio bool 読み出し専用 "bytes_warn...ump_refs" dump_refs bool 読み出し専用 "dump_refs_file" dump_refs_file str 読み出し専用 "exec_prefix" exec_prefix str 公開 "executable" executable str 公開 "faulthandler" faulthandler bool 読み出し専用 "filesystem_encoding" filesystem_encoding str 読み出し専...prefix . デフォルト: NULL 。 Python のパス設定 の出力の一部です。 PyConfig.exec_prefix も参照してください。 wchar_t * base_executable Python の基となる実行ファイル: sys._base_executable 。 __PYVENV_LAUNCHER__ 環境変数によって設定されます。 NULL の場合は Py... - https://man.mtool.work/python/3.14/c-api/init_config.html
- platform --- 実行中プラットフォームの固有情報を参照する 12289
- platform --- 実行中プラットフォームの固有情報を参照する ソースコード: Lib/platform.py 注釈 プラットフォーム毎にアルファベット順に並べています。Linuxについては Unixセクションを参照してください。 プラットフォーム共通 platform. architecture (
...executable = sys.executable , bits = '' , linkage = '' ) executable で指定した実行可能ファイル(省略時はPythonインタープリタのバイナリ)の各種アーキテ...ます。 file はほとんどのUnixプラットフォームと一部の非Unixプラットフォームで利用可能ですが、 file コマンドが利用できず、かつ executable が Pythonインタープリタでない場合には適切なデフォルト値が返ります。 注釈 macOS (とひょっとすると他のプラットフォーム) では...示す真偽値です。 決定不能な項目は、引数として指定されたデフォルトに設定されます。 Unix プラットフォーム platform. libc_ver ( executable = sys.executable , lib = '' , version = '' , chunksize = 16384 ) executableで指定したファイル(省略時はPythonインタープリタ... - https://man.mtool.work/python/3.14/library/platform.html
- Python 3.15 で削除予定 11952
- Python 3.15 で削除予定 The PyImport_ImportModuleNoBlock() : Use PyImport_ImportModule() instead. PyWeakref_GetObject() and PyWeakref_GET_OBJECT() : Use PyWeakref_GetRef() instead. The pythoncapi-compat project can be used to get PyWeakref_G
..."exec_prefix") ( sys.exec_prefix ) if virtual environments need to be handled. Py_GetProgramFullPath() : Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetProgramName() : Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetPytho...えます。 他のマニュアルの関連ページ PHP hash() PHP exec() Linux JM hash(3) Linux JM exec(3) Linux JM stdio(3) PHP phpdbg_get_executable()... - https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.15.ht...
- フレーム (frame) オブジェクト 10428
- フレーム (frame) オブジェクト type PyFrameObject 次に属します: Limited API (不透明な構造体として). フレームオブジェクトを記述する際に用いられる、オブジェクトを表す C 構造体です。 この構造体には公開メンバはありません。 バージョン 3.11 で変更
...在実行している行の番号を返します。 行番号がない場合は -1 を返します。 Added in version 3.12. const PyTypeObject * PyUnstable_ExecutableKinds これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 内部のデバッグやトレースに使う、フレー...別できます (例えば、内部フレームを除外するため)。 各エントリーのインデックスは以下の定数で指定します。 定数 説明 PyUnstable_EXECUTABLE_KIND_SKIP これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 内部フレーム (例えばインライン化さ...れたフレーム) であり、ツールではスキップすべきです。 PyUnstable_EXECUTABLE_KIND_PY_FUNCTION これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 通常の Python 関数に対応す... - https://man.mtool.work/python/3.14/c-api/frame.html
- インタープリタの初期化と終了処理 9754
- インタープリタの初期化と終了処理 初期化前にインタープリタを設定する方法の詳細は、 Python の初期化設定 を参照してください。 Python の初期化前 Python を組み込むアプリケーションでは、一部の関数と グローバルな設定変数 を除き、ほかの Python/C AP
...定によって異なるためです。 int Py_FrozenMain ( int argc , char * * argv ) The main program for a "frozen" Python program (an executable that embeds the interpreter together with the bytecode of the program's modules, as produced by the freeze utility; see To...s is used by Py_GetPath() and some other functions below to find the Python run-time libraries relative to the interpreter executable. The default value is 'python' . The argument should point to a zero-terminated wide character string in static storage wh...ow returns NULL if called before Py_Initialize() . バージョン 3.13 で非推奨、バージョン 3.15 で削除予定: Use PyConfig_Get("executable") ( sys.executable ) instead. wchar_t * Py_GetPrefix ( ) 次に属します: Stable ABI . Return the prefix for installed platfo... - https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
- subprocess --- サブプロセス管理 9754
- subprocess --- サブプロセス管理 ソースコード: Lib/subprocess.py subprocess モジュールでは、新しいプロセスを生成し、その標準入力、標準出力、標準エラー出力のパイプに接続して、終了コードを取得できます。 このモジュールは、次のような古いモジュー
...ケースを開発者が扱えるように、 Popen クラスは多くの柔軟性を提供しています。 class subprocess. Popen ( args , bufsize = -1 , executable = None , stdin = None , stdout = None , stderr = None , preexec_fn = None , close_fds = True , shell = False , cwd = None...文字列の場合、解釈はプラットフォーム依存であり、下記に説明されます。デフォルトの挙動からの追加の違いについては shell および executable 引数を参照してください。特に明記されない限り、 args をシーケンスとして渡すことが推奨されます。 警告 最も確実なのは、実行フ...するには shutil.which() を使ってください。 どのプラットフォームでも、現在の Python インタープリタをもう一度起動するには sys.executable を渡すことを推奨します。 インストール済みのモジュールを起動するには、コマンドラインの -m 形式を使ってください。 executable... - https://man.mtool.work/python/3.14/library/subprocess.html
- リモートデバッグのアタッチプロトコル 9240
- リモートデバッグのアタッチプロトコル このプロトコルを使うと、外部ツールから実行中の CPython プロセスにアタッチし、Python コードをリモートで実行できます。 別の Python プロセスへのアタッチには、プラットフォームによって追加の権限や設定が必要な
.../to/bin/python3 is the path to your Python binary, which you can find by e.g. running which python3 or evaluating sys.base_executable at the Python REPL. (These instructions are for a non-framework build of Python. Framework builds may need to be configure...リアドレスを求めます。 実装例を示します。 def find_py_runtime_linux ( pid : int ) -> int : # Step 1: Try to find the Python executable in memory binary_path , base_address = find_mapped_binary ( pid , name_contains = "python" ) # Step 2: Fallback to shared...library if executable is not found if binary_path is None : binary_path , base_address = find_mapped_binary ( pid , name_contains = "libpython"... - https://man.mtool.work/python/3.14/howto/remote_debugging.html
- 非推奨 8551
- 非推奨 Python 3.15 で削除予定 インポートシステム: Setting __cached__ on a module while failing to set __spec__.cached is deprecated. In Python 3.15, __cached__ will cease to be set or take into consideration by the import system or standard
..."exec_prefix") ( sys.exec_prefix ) if virtual environments need to be handled. Py_GetProgramFullPath() : Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetProgramName() : Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetPytho... - https://man.mtool.work/python/3.14/deprecations/
- site --- サイト固有の設定フック 7877
- site --- サイト固有の設定フック ソースコード: Lib/site.py このモジュールは初期化中に自動的にインポートされます。 自動インポートはインタプリタの -S オプションで禁止できます。 Importing this module normally appends site-specific paths to the
...lines and lines beginning with # are skipped. Lines starting with import (followed by space or tab) are executed. 注釈 An executable line in a .pth file is run at every Python startup, regardless of whether a particular module is actually going to be used.... Its impact should thus be kept to a minimum. The primary intended purpose of executable lines is to make the corresponding module(s) importable (load 3rd-party import hooks, adjust PATH etc). Any other initiali... - https://man.mtool.work/python/3.14/library/site.html
- What's New In Python 3.13 7877
- What's New In Python 3.13 エディタ : Adam Turner と Thomas Wouters この記事では Python 3.12 と比較した Python 3.13 の新機能を解説します。Python 3.13 は2024年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 71
...必要に応じて (Windows では) PyConfig.legacy_windows_stdio も設定してください。 _Py_SetProgramFullPath() : 代わりに PyConfig.executable を設定してください。 代わりに、Python 3.8 で追加された Python 初期化設定 の新しい PyConfig API ( PEP 587 ) を使ってください...x instead. Py_GetPath() : Get sys.path instead. Py_GetPrefix() : Get sys.prefix instead. Py_GetProgramFullPath() : Get sys.executable instead. Py_GetProgramName() : Get sys.executable instead. Py_GetPythonHome() : Get PyConfig.home or the PYTHONHOME enviro..."exec_prefix") ( sys.exec_prefix ) if virtual environments need to be handled. Py_GetProgramFullPath() : Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetProgramName() : Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetPytho... - https://man.mtool.work/python/3.14/whatsnew/3.13.html