per page, with , order by , clip by
Results of 1 - 10 of about 35 for environment (0.009 sec.)
venv --- 仮想環境の作成 15912
venv --- 仮想環境の作成 Added in version 3.3. ソースコード: Lib/venv/ venv モジュールは、軽量な「仮想環境」の作成に対応しています。 各仮想環境は、それぞれの site ディレクトリに独立した Python パッケージ群を持ちます。 仮想環境は、インストール ... 仮想環境の背景についてより詳しくは PEP 405 を参照してください。 参考 Python Packaging User Guide: Creating and using virtual environments 利用可能な環境 : not Android, not iOS, not WASI. このモジュールは モバイルプラットフォーム と WebAssemblyプラットフォーム ... をサポートしません。 仮想環境の作成 仮想環境 は、 venv モジュールを実行して作成します: python -m venv /path/to/new/virtual/environment これにより、対象のディレクトリ (必要であれば親ディレクトリも) が作成され、 コマンドを実行した Python のインストール先を指す ... る方法になりました。 Windows では、 venv コマンドは次のように実行します: PS> python -m venv C :\ path \ to \ new \ virtual \ environment このコマンドを -h をつけて実行すると利用できるオプションが表示されます: usage: venv [-h] [--system-site-packages] [--symli ...
https://man.mtool.work/python/3.14/library/venv.html
Python 3.15 で削除予定 9993
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 ... efix() : Use PyConfig_Get("base_prefix") ( sys.base_prefix ) instead. Use PyConfig_Get("prefix") ( sys.prefix ) if virtual environments need to be handled. Py_GetExecPrefix() : Use PyConfig_Get("base_exec_prefix") ( sys.base_exec_prefix ) instead. Use PyCon ... fig_Get("exec_prefix") ( sys.exec_prefix ) if virtual environments need to be handled. Py_GetProgramFullPath() : Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetProgramNam ... Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetPythonHome() : Use PyConfig_Get("home") or the PYTHONHOME environment variable instead. pythoncapi-compat プロジェクト を使うと、Python 3.13 以前でも PyConfig_Get() を利用できます。 Python 3.1 ...
https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.15.ht...
Python 初期化設定 9834
Python 初期化設定 PyInitConfig C API Added in version 3.14. Python は Py_InitializeFromInitConfig() で初期化できます。 Py_RunMain() 関数は、カスタマイズされた Python プログラムを書くために使用できます。 Initialization, Finalization, and Thr ... dio_errors" stdio_errors str 読み出し専用 "stdlib_dir" stdlib_dir str 公開 "tracemalloc" tracemalloc int 読み出し専用 "use_environment" use_environment bool 公開 "use_frozen_modules" use_frozen_modules bool 読み出し専用 "use_hash_seed" use_hash_seed bool 読 ... argv 引数を解析します。 コマンドライン引数 を参照してください。 デフォルト: Python 設定では 1 、隔離設定では 0 。 int use_environment 環境変数 を使うかどうか。 PyConfig.use_environment を参照してください。 デフォルト: Python 設定では 1 、隔離設定では 0 。 ... ig のメソッドを呼び出す前に設定しなければなりません。 PyConfig.dev_mode PyConfig.isolated PyConfig.parse_argv PyConfig.use_environment さらに、 PyConfig_SetArgv() または PyConfig_SetBytesArgv() を使う場合は、ほかのメソッドより先に呼び出さなければなりません。 ...
https://man.mtool.work/python/3.14/c-api/init_config.html
インタープリタの初期化と終了処理 9674
インタープリタの初期化と終了処理 初期化前にインタープリタを設定する方法の詳細は、 Python の初期化設定 を参照してください。 Python の初期化前 Python を組み込むアプリケーションでは、一部の関数と グローバルな設定変数 を除き、ほかの Python/C AP ... 環境変数を読みシークレットハッシュシードを初期化します。 バージョン 3.12 で非推奨、バージョン 3.15 で削除予定. int Py_IgnoreEnvironmentFlag この API は後方互換性のために残されています。 代わりに PyConfig.use_environment を設定してください。 Python の初期化設 ... f them are made available to the program in sys.argv . Apart from that, the interpreter uses the Python Configuration , so environment variables such as PYTHONPATH are honored. Warnings about the path configuration ( PyConfig.pathconfig_warnings ) are suppr ... files. This is derived through a number of complicated rules from the program name set with PyConfig.program_name and some environment variables; for example, if the program name is '/usr/local/bin/python' , the prefix is '/usr/local' . The returned string ...
https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
4. Windows で Python を使う 9356
4. Windows で Python を使う このドキュメントは、 Python を Microsoft Windows で使うときに知っておくべき、 Windows 固有の動作についての概要を伝えることを目的としています。 多くの Unix システムやサービスと異なり、Windows にはシステムでサポート ... will be %LocalAppData%\Python\bin by default, but may be customized by an administrator. Click Start and search for "Edit environment variables for your account" for the system settings page to add the path. インストールした Python ランタイムには、それぞれ ... to the install, including globally installed packages, but will leave site-packages and Scripts directories as is. Virtual environments are also unaffected. --dry-run を渡すと、出力とログを生成しますが、インストールは一切変更しません。 Passing --refresh wil ... unch this one. Otherwise, you will need to use py -V:3.14t or, if you have added the global aliases directory to your PATH environment variable, the python3.14t.exe commands. 4.1.13. インデックスの署名 Added in version 26.2. インデックスファイルには、改ざん ...
https://man.mtool.work/python/3.14/using/windows.html
Pythonモジュール索引 9038
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 ... UTF-8 codec with BOM signature ensurepip Bootstrapping the "pip" installer into an existing Python installation or virtual environment. enum Implementation of an enumeration class. errno Standard errno system symbols. f faulthandler Dump the Python tracebac ... 非推奨: Removed in 3.13. uuid UUID objects (universally unique identifiers) according to RFC 9562 v venv Creation of virtual environments. w warnings Issue warning messages and control their disposition. wave Provide an interface to the WAV sound format. weak ... ools. wsgiref.simple_server A simple WSGI HTTP server. wsgiref.types WSGI types for static type checking wsgiref.util WSGI environment utilities. wsgiref.validate WSGI conformance checker. x xdrlib 非推奨: Removed in 3.13. xml Package containing XML process ...
https://man.mtool.work/python/3.14/py-modindex.html
非推奨 8386
非推奨 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 ... efix() : Use PyConfig_Get("base_prefix") ( sys.base_prefix ) instead. Use PyConfig_Get("prefix") ( sys.prefix ) if virtual environments need to be handled. Py_GetExecPrefix() : Use PyConfig_Get("base_exec_prefix") ( sys.base_exec_prefix ) instead. Use PyCon ... fig_Get("exec_prefix") ( sys.exec_prefix ) if virtual environments need to be handled. Py_GetProgramFullPath() : Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetProgramNam ... Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetPythonHome() : Use PyConfig_Get("home") or the PYTHONHOME environment variable instead. pythoncapi-compat プロジェクト を使うと、Python 3.13 以前でも PyConfig_Get() を利用できます。 Python 3.1 ...
https://man.mtool.work/python/3.14/deprecations/
拡張モジュールの定義 7749
拡張モジュールの定義 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 ... efore any substantial code is executed, Python can determine which capabilities the module supports, and it can adjust the environment or refuse loading an incompatible extension. By default, Python itself creates the module object -- that is, it does the e ...
https://man.mtool.work/python/3.14/c-api/extension-modules.html
sys.path モジュール検索パスの初期化 7749
sys.path モジュール検索パスの初期化 モジュール検索パスは Python の開始時に初期化されます。このモジュール検索パスは、 sys.path でアクセス可能です。 実行するスクリプトがある場合、モジュール検索パスの最初の項目は、そのスクリプトがあるディレクト ... ュメント を参照してください。 注釈 PYTHONHOME は pyvenv.cfg の検出より優先されます。 注釈 There are other ways how "virtual environments" could be implemented, this documentation refers implementations based on the pyvenv.cfg mechanism, such as venv . Most v ... irtual environment implementations follow the model set by venv , but there may be exotic implementations that diverge from it. _pth ファイル ...
https://man.mtool.work/python/3.14/library/sys_path_init.html
What's New In Python 3.12 7749
What's New In Python 3.12 編集者 : Adam Turner この記事では Python 3.11 と比較した Python 3.12 の新機能を解説します。Python 3.12 は2023年10月2日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 693 -- Python 3.12 リリ ... WarningFlag : 代わりに PyConfig.bytes_warning を使用 Py_FrozenFlag : 代わりに PyConfig.pathconfig_warnings を使用 Py_IgnoreEnvironmentFlag : 代わりに PyConfig.use_environment を使用 Py_DontWriteBytecodeFlag : 代わりに PyConfig.write_bytecode を使用 Py_NoUse ... efix() : Use PyConfig_Get("base_prefix") ( sys.base_prefix ) instead. Use PyConfig_Get("prefix") ( sys.prefix ) if virtual environments need to be handled. Py_GetExecPrefix() : Use PyConfig_Get("base_exec_prefix") ( sys.base_exec_prefix ) instead. Use PyCon ... fig_Get("exec_prefix") ( sys.exec_prefix ) if virtual environments need to be handled. Py_GetProgramFullPath() : Use PyConfig_Get("executable") ( sys.executable ) instead. Py_GetProgramNam ...
https://man.mtool.work/python/3.14/whatsnew/3.12.html
PREV 1 2 3 4 NEXT