Results of 1 - 10 of about 84 for imports (0.054 sec.)
- pickle --- Python オブジェクトの直列化 — Python 3.14.8 ドキュメント 12518
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データの永続化 » pickle --- Python オブジェクトの直列化 テーマ 自動 ライト ダーク | pickle --- Python オブジェクトの直列化 ¶ ソース
...he following functions to make the pickling process more convenient: pickle. dump ( obj , file , protocol = None , * , fix_imports = True , buffer_callback = None ) ¶ オブジェクト obj を pickle 化し、すでにオープンしている ファイルオブジェクト file に書...き込みます。 Pickler(file, protocol).dump(obj) と等価です。 引数 file , protocol , fix_imports および buffer_callback は Pickler のコンストラクタと同じ意味になります。 バージョン 3.8 で変更: buffer_callback 引数が追加...されました。 pickle. dumps ( obj , protocol = None , * , fix_imports = True , buffer_callback = None ) ¶ ファイルに書く代わりに、 bytes オブジェクトとしてオブジェクト obj の pickle 表現を返し... - https://man.mtool.work/python/3.14/library/pickle.html
- pickle --- Python オブジェクトの直列化 — Python 3.14.8 ドキュメント 12518
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データの永続化 » pickle --- Python オブジェクトの直列化 テーマ 自動 ライト ダーク | pickle --- Python オブジェクトの直列化 ¶ ソース
...he following functions to make the pickling process more convenient: pickle. dump ( obj , file , protocol = None , * , fix_imports = True , buffer_callback = None ) ¶ オブジェクト obj を pickle 化し、すでにオープンしている ファイルオブジェクト file に書...き込みます。 Pickler(file, protocol).dump(obj) と等価です。 引数 file , protocol , fix_imports および buffer_callback は Pickler のコンストラクタと同じ意味になります。 バージョン 3.8 で変更: buffer_callback 引数が追加...されました。 pickle. dumps ( obj , protocol = None , * , fix_imports = True , buffer_callback = None ) ¶ ファイルに書く代わりに、 bytes オブジェクトとしてオブジェクト obj の pickle 表現を返し... - https://man.mtool.work/python/3.14/library/pickle.html
- 変更履歴 — Python 3.14.8 ドキュメント 11733
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...r fails to start, when the current directory contains user files with the same names as standard library modules that IDLE imports, such as random.py or tkinter.py . gh-93016 : Fix parsing of command line arguments in the IDLE "Run... Customized" dialog...ng its task limit. Based on a fix proposed by Tabrez Mohammed. gh-140326 : Fix the asyncio REPL namespace so that relative imports no longer resolve against the asyncio package and __file__ is no longer set. gh-79638 : Disallow all access in urllib.robo...were previously not propagated are: context_aware_warnings , cpu_count , disable-remote-debug , int_max_str_digits , lazy_imports , no_debug_ranges , pathconfig_warnings , perf , perf_jit , presite , pycache_prefix , thread_inherit_context , and warn_d... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- 5. インポートシステム — Python 3.14.8 ドキュメント 9389
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 5. インポートシステム テーマ 自動 ライト ダーク | 5. インポートシステム ¶ ある 1 つの module にある Python コードから他のモジュールを イ
...パッケージのための名前空間パッケージを作成します。 Namespace packages may also be nested inside a regular package. When the import system searches a regular package's __path__ and encounters a subdirectory that does not contain an __init__.py file, that...duleNotFoundError is raised. The third argument is an existing module object that will be the target of loading later. The import system passes in a target module only during reload. メタパスは、1 回のインポート要求で複数回走査される可能性があります。例...hinery will try it only if the finder does not implement find_spec() . バージョン 3.10 で変更: Use of find_module() by the import system now raises ImportWarning . バージョン 3.12 で変更: find_module() has been removed. Use find_spec() instead. 5.4. ロー... - https://man.mtool.work/python/3.14/reference/import.html
- 5. インポートシステム — Python 3.14.8 ドキュメント 9389
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 5. インポートシステム テーマ 自動 ライト ダーク | 5. インポートシステム ¶ ある 1 つの module にある Python コードから他のモジュールを イ
...パッケージのための名前空間パッケージを作成します。 Namespace packages may also be nested inside a regular package. When the import system searches a regular package's __path__ and encounters a subdirectory that does not contain an __init__.py file, that...duleNotFoundError is raised. The third argument is an existing module object that will be the target of loading later. The import system passes in a target module only during reload. メタパスは、1 回のインポート要求で複数回走査される可能性があります。例...hinery will try it only if the finder does not implement find_spec() . バージョン 3.10 で変更: Use of find_module() by the import system now raises ImportWarning . バージョン 3.12 で変更: find_module() has been removed. Use find_spec() instead. 5.4. ロー... - https://man.mtool.work/python/3.14/reference/import.html
- What's New In Python 3.7 — Python 3.14.8 ドキュメント 8603
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.7 テーマ 自動 ライト ダーク | What's New In Python 3.7 ¶ 編集者 : Elvis Pranskevichus < elvis @ magic . io > この記
...る、新しい組み込みの breakpoint() 関数があります。 Built-in breakpoint() calls sys.breakpointhook() . By default, the latter imports pdb and then calls pdb.set_trace() , but by binding sys.breakpointhook() to the function of your choosing, breakpoint() ca...name and module __file__ path when from ... import ... fails. (Contributed by Matthias Bussonnier in bpo-29546 .) Circular imports involving absolute imports with binding a submodule to a name are now supported. (Contributed by Serhiy Storchaka in bpo-3...] is now eagerly expanded to the full starting directory path, rather than being left as the empty directory (which allows imports from the current working directory at the time when an import occurs) (Contributed by Nick Coghlan in bpo-33053 .) The new... - https://man.mtool.work/python/3.14/whatsnew/3.7.html
- What's New In Python 3.7 — Python 3.14.8 ドキュメント 8603
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.7 テーマ 自動 ライト ダーク | What's New In Python 3.7 ¶ 編集者 : Elvis Pranskevichus < elvis @ magic . io > この記
...る、新しい組み込みの breakpoint() 関数があります。 Built-in breakpoint() calls sys.breakpointhook() . By default, the latter imports pdb and then calls pdb.set_trace() , but by binding sys.breakpointhook() to the function of your choosing, breakpoint() ca...name and module __file__ path when from ... import ... fails. (Contributed by Matthias Bussonnier in bpo-29546 .) Circular imports involving absolute imports with binding a submodule to a name are now supported. (Contributed by Serhiy Storchaka in bpo-3...] is now eagerly expanded to the full starting directory path, rather than being left as the empty directory (which allows imports from the current working directory at the time when an import occurs) (Contributed by Nick Coghlan in bpo-33053 .) The new... - https://man.mtool.work/python/3.14/whatsnew/3.7.html
- What's New in Python 2.5 — Python 3.14.8 ドキュメント 8074
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature
...the pkg.main and pkg.string submodules. Consider the code in the main.py module. What happens if it executes the statement import string ? In Python 2.4 and earlier, it will first look in the package's directory to perform a relative import, finds pkg/s...tring.py , imports the contents of that file as the pkg.string module, and that module is bound to the name string in the pkg.main module's n...t the contents of sys.modules , which is slightly unclean. Holger Krekel's py.std package provides a tidier way to perform imports from the standard library, import py; py.std.string.join() , but that package isn't available on all Python installations.... - https://man.mtool.work/python/3.14/whatsnew/2.5.html
- What's New in Python 2.5 — Python 3.14.8 ドキュメント 8074
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature
...the pkg.main and pkg.string submodules. Consider the code in the main.py module. What happens if it executes the statement import string ? In Python 2.4 and earlier, it will first look in the package's directory to perform a relative import, finds pkg/s...tring.py , imports the contents of that file as the pkg.string module, and that module is bound to the name string in the pkg.main module's n...t the contents of sys.modules , which is slightly unclean. Holger Krekel's py.std package provides a tidier way to perform imports from the standard library, import py; py.std.string.join() , but that package isn't available on all Python installations.... - https://man.mtool.work/python/3.14/whatsnew/2.5.html
- 1. コマンドラインと環境 — Python 3.14.8 ドキュメント 7817
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python のセットアップと利用 » 1. コマンドラインと環境 テーマ 自動 ライト ダーク | 1. コマンドラインと環境 ¶ CPython インタプリタはコマンドラインと環境を読み取って
...in version 3.11. -X importtime to show how long each import takes. It shows module name, cumulative time (including nested imports) and self time (excluding nested imports). Note that its output may be broken in multi-threaded application. Typical usage...umns. See also PYTHONPROFILEIMPORTTIME . Added in version 3.7. バージョン 3.14 で変更: Added -X importtime=2 to also trace imports of loaded modules, and reserved values other than 1 and 2 for future use. -X dev : enable Python Development Mode , introd...ting the -X importtime option. Added in version 3.7. バージョン 3.14 で変更: Added PYTHONPROFILEIMPORTTIME=2 to also trace imports of loaded modules. PYTHONASYNCIODEBUG ¶ この環境変数が空でない文字列に設定された場合、 asyncio モジュールの デバッグモード... - https://man.mtool.work/python/3.14/using/cmdline.html