per page, with , order by , clip by
Results of 1 - 10 of about 31 for paths (0.006 sec.)
Python 初期化設定 15239
Python 初期化設定 PyInitConfig C API Added in version 3.14. Python は Py_InitializeFromInitConfig() で初期化できます。 Py_RunMain() 関数は、カスタマイズされた Python プログラムを書くために使用できます。 Initialization, Finalization, and Thr ... "legacy_windows_stdio" legacy_windows_stdio bool 読み出し専用 "malloc_stats" malloc_stats bool 読み出し専用 "module_search_paths" module_search_paths list[str] 公開 "optimization_level" optimization_level int 公開 "orig_argv" orig_argv list[str] 読み出 ... す。 filesystem_errors メンバーも参照してください。 See also PyUnicode_EncodeFSDefault() and related functions for encoding paths at runtime. wchar_t * filesystem_errors ファイルシステムのエラーハンドラー 。 sys.getfilesystemencodeerrors() に対応します ... 標準以外のディレクトリ配置ではこの値を無視します。 wchar_t * pythonpath_env モジュール検索パス ( sys.path ) を、 DELIM ( os.pathsep ) で区切った文字列。 PYTHONPATH 環境変数によって設定されます。 デフォルト: NULL 。 Python のパス設定 の入力の一部です。 ...
https://man.mtool.work/python/3.14/c-api/init_config.html
os.path --- 一般的なパス名操作 10628
os.path --- 一般的なパス名操作 ソースコード: Lib/genericpath.py , Lib/posixpath.py (POSIX) 、 Lib/ntpath.py (Windows) 。 このモジュールはパス名を扱う際に便利な関数を実装しています。ファイルの読み書きをする際は open() を、ファイルシステムにア ... は空文字列 ( '' ) を返します。 バージョン 3.6 で変更: path-like object を受け入れるようになりました。 os.path. commonpath ( paths ) イテラブル paths に含まれる各パス名に共通する、最長のサブパスを返します。 paths に絶対パスと相対パスの両方が含まれる場合 ... 、異なるドライブのパスが含まれる場合、または paths が空の場合は ValueError を送出します。 commonprefix() と異なり、有効なパスを返します。 Added in version 3.5. バージョン 3. ... リースでこの関数が更新される可能性があります。 利用可能な環境 : Windows. Added in version 3.13. os.path. join ( path , / , * paths ) 1 つ以上のパス要素を適切に連結します。 返り値は path と *paths のすべての要素を連結したもので、最後以外の空でない各要素の ...
https://man.mtool.work/python/3.14/library/os.path.html
modulefinder --- スクリプト中で使用されているモジュールの検索 9528
modulefinder --- スクリプト中で使用されているモジュールの検索 ソースコード: Lib/modulefinder.py このモジュールでは、スクリプト中で import されているモジュールセットを調べるために使える ModuleFinder クラスを提供しています。 modulefinder.py は ... 名前のパッケージであると指定できます。 class modulefinder. ModuleFinder ( path = None , debug = 0 , excludes = [] , replace_paths = [] ) このクラスでは run_script() および report() メソッドを提供しています。 これらのメソッドは何らかのスクリプト中で imp ... すると、実行している内容を表すデバッグメッセージを出力します。 excludes は解析から除外するモジュール名のリストです。 replace_paths には、モジュールパス内で置き換えられるパスをタプル (oldpath, newpath) からなるリストで指定します。 report ( ) スクリプトで ...
https://man.mtool.work/python/3.14/library/modulefinder.html
sysconfig --- Python の構成情報へのアクセスを提供する 9528
sysconfig --- Python の構成情報へのアクセスを提供する Added in version 3.2. ソースコード: Lib/sysconfig sysconfig モジュールは、インストールパスの一覧や現在のプラットフォームに関する構成変数など、Python の構成情報へのアクセスを提供します。 ... は "prefix" 、 "home" 、 "user" のいずれかでなければなりません。 戻り値は get_scheme_names() に含まれるスキーム名です。 get_paths() など、 scheme 引数を受け取る sysconfig の関数に渡せます。 Added in version 3.10. バージョン 3.11 で変更: Python を仮想環 ... alse に設定された場合、パスは変数を使って展開されません。 name が見つからない場合、 KeyError を送出します。 sysconfig. get_paths ( [ scheme [ , vars [ , expand ] ] ] ) インストールスキームに基づいたすべてのインストールパスを格納した辞書を返します。詳し ... 値の辞書でなければなりません。 expand に偽を指定すると、パスは展開されません。 scheme が実在するスキームでなかった場合、 get_paths() は KeyError を発生させます。 その他の関数 sysconfig. get_python_version ( ) MAJOR.MINOR の型の Python バージョン番号文字 ...
https://man.mtool.work/python/3.14/library/sysconfig.html
4. Windows で Python を使う 9302
4. Windows で Python を使う このドキュメントは、 Python を Microsoft Windows で使うときに知っておくべき、 Windows 固有の動作についての概要を伝えることを目的としています。 多くの Unix システムやサービスと異なり、Windows にはシステムでサポート ... ンストールするランタイムと一致します。 $> py list --online 3.14 For compatibility with the old launcher, the --list , --list-paths , -0 and -0p commands (for example, py -0p ) are retained. They do not allow additional options, and will produce legacy-f ... ing 設定オプションで無効にできます。 Shebang lines that do not match any of the patterns are treated as Windows executable paths that are absolute or relative to the directory containing the script file. This is a convenience for Windows-only scripts, ... such as those generated by an installer, since the behavior is not compatible with Unix-style shells. These paths may be quoted, and may include multiple arguments, after which the path to the script and any additional arguments will be ...
https://man.mtool.work/python/3.14/using/windows.html
xmlrpc.server --- 基本的な XML-RPC サーバー 8654
xmlrpc.server --- 基本的な XML-RPC サーバー ソースコード: Lib/xmlrpc/server.py xmlrpc.server モジュールは、Python で記述する XML-RPC サーバーの基本的なフレームワークを提供します。 SimpleXMLRPCServer を使うと独立したサーバーを作成でき、 CGIX ... all_functions ( ) XML-RPC における複数の要求を処理する関数 system.multicall を登録します。 SimpleXMLRPCRequestHandler. rpc_paths この属性値はXML-RPCリクエストを受け付けるURLの有効なパス部分をリストするタプルでなければなりません。これ以外のパスへのリク ... c.server import SimpleXMLRPCRequestHandler # 特定のパスに制限する class RequestHandler ( SimpleXMLRPCRequestHandler ): rpc_paths = ( '/RPC2' ,) # サーバーを作成する with SimpleXMLRPCServer (( 'localhost' , 8000 ), requestHandler = RequestHandler ) as ... XMLRPCServer from xmlrpc.server import SimpleXMLRPCRequestHandler class RequestHandler ( SimpleXMLRPCRequestHandler ): rpc_paths = ( '/RPC2' ,) with SimpleXMLRPCServer (( 'localhost' , 8000 ), requestHandler = RequestHandler ) as server : server . reg ...
https://man.mtool.work/python/3.14/library/xmlrpc.server.html
What's New In Python 3.11 8654
What's New In Python 3.11 編集者 : Pablo Galindo Salgado この記事では Python 3.10 と比較した Python 3.11 の新機能を解説します。Python 3.11 は2022年10月24日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要 -- リリースハイ ... ィレクトリを先頭ではなく末尾に追加します。 (Bastian Neuburger による bpo-44934 での貢献。) 初期化時に PyConfig.module_search_paths を使って sys.path を初期化するには、 PyConfig.module_search_paths_set フィールドを 1 に設定する必要があります。 そうしない ... と、初期化処理はパスを再計算し、 module_search_paths に追加した値を置き換えます。 --help オプションの出力が、50 行、80 桁に収まるようになりました。 Python の環境変数 と -X オプ ... には、最適化された Blake2 ライブラリ libb2 を使って Python をビルドすることを推奨します。 初期化時に PyConfig.module_search_paths を使って sys.path を初期化するには、 PyConfig.module_search_paths_set フィールドを 1 に設定する必要があります。 そうしない ...
https://man.mtool.work/python/3.14/whatsnew/3.11.html
非推奨 8428
非推奨 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 ... stead. pathlib : PurePath.is_reserved() has been deprecated since Python 3.13. Use os.path.isreserved() to detect reserved paths on Windows. platform : java_ver() has been deprecated since Python 3.13. This function is only useful for Jython support, ... を使ってください。 sysconfig : sysconfig.expand_makefile_vars() 関数は Python 3.14 から非推奨です。 代わりに sysconfig.get_paths() の vars 引数を使ってください。 tarfile : ドキュメント化されておらず、使われてもいない TarFile.tarfile 属性は Python 3.13 ... than bytes , such as str . Python 3.13 で非推奨となった Python 初期化関数: Py_GetPath() : Use PyConfig_Get("module_search_paths") ( sys.path ) instead. Py_GetPrefix() : Use PyConfig_Get("base_prefix") ( sys.base_prefix ) instead. Use PyConfig_Get("pr ...
https://man.mtool.work/python/3.14/deprecations/
7. iOS で Python を使う 8428
7. iOS で Python を使う 著者 : Russell Keith-Magee (2024-03) iOS における Pythonは、デスクトッププラットフォームにおける Python とは異なります。 デスクトッププラットフォームでは、 Python は一般的にコンピューターのどのユーザーでも使えるシステ ... uild Settings" タブで、次の項目を修正してください: Build Options User Script Sandboxing: No Enable Testability: Yes Search Paths Framework Search Paths: $(PROJECT_DIR) Header Search Paths: "$(BUILT_PRODUCTS_DIR)/Python.framework/Headers" Apple Clang - ...
https://man.mtool.work/python/3.14/using/ios.html
site --- サイト固有の設定フック 8201
site --- サイト固有の設定フック ソースコード: Lib/site.py このモジュールは初期化中に自動的にインポートされます。 自動インポートはインタプリタの -S オプションで禁止できます。 Importing this module normally appends site-specific paths to the ... に呼び出されます。 バージョン 3.3 で変更: この関数は以前は無条件に呼び出されていました。 site. addsitedir ( sitedir , known_paths = None ) Add a directory to sys.path and process its .pth files. Typically used in sitecustomize or usercustomize (see abo ... -packages ディレクトリを表示します。 両方のオプションが指定された場合、ユーザのベースとユーザの site が(常にこの順序で) os.pathsep 区切りで表示されます。 いずれかのオプションが与えられた場合に、このスクリプトは次のいずれかの終了コードで終了します: ユー ...
https://man.mtool.work/python/3.14/library/site.html
PREV 1 2 3 4 NEXT