Results of 1 - 10 of about 33 for pycache (0.034 sec.)
- Python 初期化設定 — Python 3.14.8 ドキュメント 11807
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia
...l 読み出し専用 "platlibdir" platlibdir str Public "prefix" prefix str Public "program_name" program_name str 読み出し専用 "pycache_prefix" pycache_prefix str Public "quiet" quiet bool Public "run_command" run_command str 読み出し専用 "run_filename" run_...thon" on Windows, or L"python3" on other platforms. Default: NULL . Part of the Python Path Configuration input. wchar_t * pycache_prefix ¶ Directory where cached .pyc files are written: sys.pycache_prefix . Set by the -X pycache_prefix=PATH command lin...e option and the PYTHONPYCACHEPREFIX environment variable. The command-line option takes precedence. If NULL , sys.pycache_prefix is set to None . Defaul... - https://man.mtool.work/python/3.14/c-api/init_config.html
- Python 初期化設定 — Python 3.14.8 ドキュメント 11807
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia
...l 読み出し専用 "platlibdir" platlibdir str Public "prefix" prefix str Public "program_name" program_name str 読み出し専用 "pycache_prefix" pycache_prefix str Public "quiet" quiet bool Public "run_command" run_command str 読み出し専用 "run_filename" run_...thon" on Windows, or L"python3" on other platforms. Default: NULL . Part of the Python Path Configuration input. wchar_t * pycache_prefix ¶ Directory where cached .pyc files are written: sys.pycache_prefix . Set by the -X pycache_prefix=PATH command lin...e option and the PYTHONPYCACHEPREFIX environment variable. The command-line option takes precedence. If NULL , sys.pycache_prefix is set to None . Defaul... - https://man.mtool.work/python/3.14/c-api/init_config.html
- sys --- システム固有のパラメーターと関数 — Python 3.14.8 ドキュメント 10091
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys --- システム固有のパラメーターと関数 テーマ 自動 ライト ダーク | sys --- システム固有のパラメーター
...red_memory ¶ True if Python is compiled with shared memory support. Availability : Emscripten. Added in version 3.11. sys. pycache_prefix ¶ If this is set (not None ), Python will write bytecode-cache .pyc files to (and read them from) a parallel direct...ory tree rooted at this directory, rather than from __pycache__ directories in the source code tree. Any __pycache__ directories in the source code tree will be ignored and new .pyc fi...les written within the pycache prefix. Thus if you use compileall as a pre-build step, you must ensure you run it with the same pycache prefix (if any) t... - https://man.mtool.work/python/3.14/library/sys.html
- os --- 雑多なオペレーティングシステムインターフェース — Python 3.14.8 ドキュメ... 10091
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » os --- 雑多なオペレーティングシステムインターフェース テーマ 自動 ライト ダーク | os --- 雑多
...bytes taken by non-directory files in each directory under the starting directory, except that it doesn't look under any __pycache__ subdirectory: import os from os.path import join , getsize for root , dirs , files in os . walk ( 'python/Lib/xml' ): pr...( join ( root , name )) for name in files ), end = " " ) print ( "bytes in" , len ( files ), "non-directory files" ) if '__pycache__' in dirs : dirs . remove ( '__pycache__' ) # don't visit __pycache__ directories 次の例 ( shutil.rmtree() の単純な実装)...bytes taken by non-directory files in each directory under the starting directory, except that it doesn't look under any __pycache__ subdirectory: import os for root , dirs , files , rootfd in os . fwalk ( 'python/Lib/xml' ): print ( root , "consumes" ,... - https://man.mtool.work/python/3.14/library/os.html
- sys --- システム固有のパラメーターと関数 — Python 3.14.8 ドキュメント 10091
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys --- システム固有のパラメーターと関数 テーマ 自動 ライト ダーク | sys --- システム固有のパラメーター
...red_memory ¶ True if Python is compiled with shared memory support. Availability : Emscripten. Added in version 3.11. sys. pycache_prefix ¶ If this is set (not None ), Python will write bytecode-cache .pyc files to (and read them from) a parallel direct...ory tree rooted at this directory, rather than from __pycache__ directories in the source code tree. Any __pycache__ directories in the source code tree will be ignored and new .pyc fi...les written within the pycache prefix. Thus if you use compileall as a pre-build step, you must ensure you run it with the same pycache prefix (if any) t... - https://man.mtool.work/python/3.14/library/sys.html
- os --- 雑多なオペレーティングシステムインターフェース — Python 3.14.8 ドキュメ... 8952
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » os --- 雑多なオペレーティングシステムインターフェース テーマ 自動 ライト ダーク | os --- 雑多
...bytes taken by non-directory files in each directory under the starting directory, except that it doesn't look under any __pycache__ subdirectory: import os from os.path import join , getsize for root , dirs , files in os . walk ( 'python/Lib/xml' ): pr...( join ( root , name )) for name in files ), end = " " ) print ( "bytes in" , len ( files ), "non-directory files" ) if '__pycache__' in dirs : dirs . remove ( '__pycache__' ) # don't visit __pycache__ directories 次の例 ( shutil.rmtree() の単純な実装)...bytes taken by non-directory files in each directory under the starting directory, except that it doesn't look under any __pycache__ subdirectory: import os for root , dirs , files , rootfd in os . fwalk ( 'python/Lib/xml' ): print ( root , "consumes" ,... - https://man.mtool.work/python/3.14/library/os.html
- What's New In Python 3.8 — Python 3.14.8 ドキュメント 8952
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.8 テーマ 自動 ライト ダーク | What's New In Python 3.8 ¶ 編集者 : Raymond Hettinger This article explains the new f
...のキャッシュを併存させるファイルシステム ¶ 暗黙のバイトコードキャッシュは、デフォルトでは各ソースコードのディレクトリ内の __pycache__ サブディレクトリを使用しますが、新たに追加された環境変数 PYTHONPYCACHEPREFIX (またはコマンドラインオプション -X pycache..._prefix ) を指定すると、ソースコードと分離されたディレクトリツリーに格納されるようになります。 キャッシュの場所は sys.pycache_prefix で参照できます( __pycache__ を使用する場合は None になります)。 (Carl Meyer の貢献による bpo-33499 ) デバッグビ...nfig PyConfig embed PyStatus libs keyword ビルド コード 詳細 Victor Stinner 拡張 user print 専用 キーワード argument built pycache builds アプリケーション member since 初期化 目次 What's New In Python 3.8 概要 -- リリースハイライト 新しい機能 代入式 位置... - https://man.mtool.work/python/3.14/whatsnew/3.8.html
- compileall --- Python ライブラリをバイトコンパイルする — Python 3.14.8 ドキュメ... 8374
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » compileall --- Python ライブラリをバイトコンパイルする テーマ 自動 ライト ダーク | compileall --- Python ライブ
...インタプリタ自体のオプションを使ってください: python -O -m compileall . Similarly, the compile() function respects the sys.pycache_prefix setting. The generated bytecode cache will only be useful if compile() is run with the same sys.pycache_prefix (if... - https://man.mtool.work/python/3.14/library/compileall.html
- importlib --- import の実装 — Python 3.14.8 ドキュメント 8374
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » importlib --- import の実装 テーマ 自動 ライト ダーク | importlib --- import の実装 ¶ Added in version 3.1
...mpiled file associated with the source path . For example, if path is /foo/bar/baz.py the return value would be /foo/bar/__pycache__/baz.cpython-32.pyc for Python 3.2. The cpython-32 string comes from the current magic tag (see sys.implementation.cache_...使われます。空文字列は最適化しないことを表します。したがって、 optimization が '' のとき /foo/bar/baz.py に対して /foo/bar/__pycache__/baz.cpython-32.pyc というバイトコードパスが返ります。 None にするとインタープリタの最適化レベルが使われます。それ以外では...値の文字列表現が使われます。したがって、 optimization が 2 のとき /foo/bar/baz.py に対して /foo/bar/__pycache__/baz.cpython-32.opt-2.pyc というバイトコードパスが返ります。 optimization の文字列表現は英数字だけが可能で、そうでなければ... - https://man.mtool.work/python/3.14/library/importlib.html
- pathlib --- オブジェクト指向のファイルシステムパス — Python 3.14.8 ドキュメント 8374
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » pathlib --- オブジェクト指向のファイルシステムパス テーマ 自動 ライト ダーク | pathlib --- オブ
...) >>> [ x for x in p . iterdir () if x . is_dir ()] [PosixPath('.hg'), PosixPath('docs'), PosixPath('dist'), PosixPath('__pycache__'), PosixPath('build')] このディレクトリツリー内の Python ソースファイルの一覧を取得します: >>> list ( p . glob ( '**/*.p...follow_symlinks is false. This example displays the number of bytes used by all files in each directory, while ignoring __pycache__ directories: from pathlib import Path for root , dirs , files in Path ( "cpython/Lib/concurrent" ) . walk ( on_error = p..., sum (( root / file ) . stat () . st_size for file in files ), "bytes in" , len ( files ), "non-directory files" ) if '__pycache__' in dirs : dirs . remove ( '__pycache__' ) This next example is a simple implementation of shutil.rmtree() . Walking the... - https://man.mtool.work/python/3.14/library/pathlib.html