Results of 1 - 10 of about 86 for setup (0.036 sec.)
- timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 11414
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ
...ます。 Python Interface ¶ このモジュールは 3 つの有用な関数と 1 つの公開クラスを持っています: timeit. timeit ( stmt='pass' , setup='pass' , timer=<default timer> , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードおよび timer 関数で Timer イ...を実行する名前空間を指定します。 バージョン 3.5 で変更: 任意の globals 引数が追加されました。 timeit. repeat ( stmt='pass' , setup='pass' , timer=<default timer> , repeat=5 , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードおよび timer 関数...ます。 バージョン 3.3 で変更: デフォルトのタイマーが time.perf_counter() になりました。 class timeit. Timer ( stmt='pass' , setup='pass' , timer=<timer function> , globals=None ) ¶ 小さなコード片の実行時間を計測するためのクラスです。 コンストラクターは... - https://man.mtool.work/python/3.14/library/timeit.html
- timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 11414
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ
...ます。 Python Interface ¶ このモジュールは 3 つの有用な関数と 1 つの公開クラスを持っています: timeit. timeit ( stmt='pass' , setup='pass' , timer=<default timer> , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードおよび timer 関数で Timer イ...を実行する名前空間を指定します。 バージョン 3.5 で変更: 任意の globals 引数が追加されました。 timeit. repeat ( stmt='pass' , setup='pass' , timer=<default timer> , repeat=5 , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードおよび timer 関数...ます。 バージョン 3.3 で変更: デフォルトのタイマーが time.perf_counter() になりました。 class timeit. Timer ( stmt='pass' , setup='pass' , timer=<timer function> , globals=None ) ¶ 小さなコード片の実行時間を計測するためのクラスです。 コンストラクターは... - https://man.mtool.work/python/3.14/library/timeit.html
- pathlib --- オブジェクト指向のファイルシステムパス — Python 3.14.8 ドキュメント 11212
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » pathlib --- オブジェクト指向のファイルシステムパス テーマ 自動 ライト ダーク | pathlib --- オブ
...ー内の Python ソースファイルの一覧を取得します: >>> list ( p . glob ( '**/*.py' )) [PosixPath('test_pathlib.py'), PosixPath('setup.py'), PosixPath('pathlib.py'), PosixPath('docs/conf.py'), PosixPath('build/lib/pathlib.py')] ディレクトリツリー内を移動しま...ッククラスです (インスタンスを作成することで PurePosixPath または PureWindowsPath のどちらかが作成されます): >>> PurePath ( 'setup.py' ) # Running on a Unix machine PurePosixPath('setup.py') pathsegments の各要素は、パスの構成要素を表す文字列か、パスオブ...arents ¶ パスの論理的な上位パスにアクセスできるイミュータブルなシーケンスになります: >>> p = PureWindowsPath ( 'c:/foo/bar/setup.py' ) >>> p . parents [ 0 ] PureWindowsPath('c:/foo/bar') >>> p . parents [ 1 ] PureWindowsPath('c:/foo') >>> p . parents... - https://man.mtool.work/python/3.14/library/pathlib.html
- pathlib --- オブジェクト指向のファイルシステムパス — Python 3.14.8 ドキュメント 11212
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » pathlib --- オブジェクト指向のファイルシステムパス テーマ 自動 ライト ダーク | pathlib --- オブ
...ー内の Python ソースファイルの一覧を取得します: >>> list ( p . glob ( '**/*.py' )) [PosixPath('test_pathlib.py'), PosixPath('setup.py'), PosixPath('pathlib.py'), PosixPath('docs/conf.py'), PosixPath('build/lib/pathlib.py')] ディレクトリツリー内を移動しま...ッククラスです (インスタンスを作成することで PurePosixPath または PureWindowsPath のどちらかが作成されます): >>> PurePath ( 'setup.py' ) # Running on a Unix machine PurePosixPath('setup.py') pathsegments の各要素は、パスの構成要素を表す文字列か、パスオブ...arents ¶ パスの論理的な上位パスにアクセスできるイミュータブルなシーケンスになります: >>> p = PureWindowsPath ( 'c:/foo/bar/setup.py' ) >>> p . parents [ 0 ] PureWindowsPath('c:/foo/bar') >>> p . parents [ 1 ] PureWindowsPath('c:/foo') >>> p . parents... - https://man.mtool.work/python/3.14/library/pathlib.html
- venv --- 仮想環境の作成 — Python 3.14.8 ドキュメント 9999
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ソフトウェア・パッケージと配布 » venv --- 仮想環境の作成 テーマ 自動 ライト ダーク | venv --- 仮想環境の作成 ¶ Added in version 3.3
...た場合は、 --clear オプションや --upgrade オプションを付けない限りはエラーを送出していました。 バージョン 3.9 で変更: pip と setuptools を PyPI での最新版に更新するには、 --upgrade-deps オプションを追加してください。 バージョン 3.12 で変更: setuptools i...path . abspath ( env_dir ) context = self . ensure_directories ( env_dir ) self . create_configuration ( context ) self . setup_python ( context ) self . setup_scripts ( context ) self . post_setup ( context ) メソッド ensure_directories() , create_c...onfiguration() , setup_python() , setup_scripts() , post_setup() はそれぞれオーバーライドできます。 ensure_directories ( env_dir ) ¶ 仮想環境のデ... - https://man.mtool.work/python/3.14/library/venv.html
- venv --- 仮想環境の作成 — Python 3.14.8 ドキュメント 9999
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ソフトウェア・パッケージと配布 » venv --- 仮想環境の作成 テーマ 自動 ライト ダーク | venv --- 仮想環境の作成 ¶ Added in version 3.3
...た場合は、 --clear オプションや --upgrade オプションを付けない限りはエラーを送出していました。 バージョン 3.9 で変更: pip と setuptools を PyPI での最新版に更新するには、 --upgrade-deps オプションを追加してください。 バージョン 3.12 で変更: setuptools i...path . abspath ( env_dir ) context = self . ensure_directories ( env_dir ) self . create_configuration ( context ) self . setup_python ( context ) self . setup_scripts ( context ) self . post_setup ( context ) メソッド ensure_directories() , create_c...onfiguration() , setup_python() , setup_scripts() , post_setup() はそれぞれオーバーライドできます。 ensure_directories ( env_dir ) ¶ 仮想環境のデ... - https://man.mtool.work/python/3.14/library/venv.html
- unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 9096
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー
...Unit and has a similar flavor as major unit testing frameworks in other languages. It supports test automation, sharing of setup and shutdown code for tests, aggregation of tests into collections, and independence of the tests from the reporting frame...ます。 assert 文の代わりにこれらのメソッドを使用すると、テストランナーでテスト結果を集計してレポートを作成する事ができます。 setUp() および tearDown() メソッドによって各テストメソッドの前後に実行する命令を実装することが出来ます。 詳細は テストコードの構...nit__.py . テストコードの構成 ¶ The basic building blocks of unit testing are test cases --- single scenarios that must be set up and checked for correctness. In unittest , test cases are represented by unittest.TestCase instances. To make your own te... - https://man.mtool.work/python/3.14/library/unittest.html
- unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 9096
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー
...Unit and has a similar flavor as major unit testing frameworks in other languages. It supports test automation, sharing of setup and shutdown code for tests, aggregation of tests into collections, and independence of the tests from the reporting frame...ます。 assert 文の代わりにこれらのメソッドを使用すると、テストランナーでテスト結果を集計してレポートを作成する事ができます。 setUp() および tearDown() メソッドによって各テストメソッドの前後に実行する命令を実装することが出来ます。 詳細は テストコードの構...nit__.py . テストコードの構成 ¶ The basic building blocks of unit testing are test cases --- single scenarios that must be set up and checked for correctness. In unittest , test cases are represented by unittest.TestCase instances. To make your own te... - https://man.mtool.work/python/3.14/library/unittest.html
- 変更履歴 — Python 3.14.8 ドキュメント 8287
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...as a fallback. gh-151981 : In tarfile , seeking a stream now stops when end of the stream is reached. gh-151544 : Modules/Setup.local is no longer used as a landmark to discover whether Python is running in a source tree, as it could potentially affe...ignore the --verbose option anymore. Patch by Victor Stinner. gh-136442 : Use exitcode 1 instead of 5 if unittest.TestCase.setUpClass() raises an exception セキュリティ ¶ gh-139700 : Check consistency of the zip64 end of central directory record. Supp...be accepted as a value. gh-50333 : Non-tuple sequences are deprecated as argument for the (items) format unit in PyArg_ParseTuple() and other argument parsing functions if items contains format units which store a borrowed buffer or a borrowed refere... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- What's New in Python 2.0 — Python 3.14.8 ドキュメント 7681
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.0 テーマ 自動 ライト ダーク | What's New in Python 2.0 ¶ 著者 : A.M. Kuchling and Moshe Zadka はじめに ¶ 新 Python
...ng because they used an old function in Python's C interface to parse their arguments; 2.0 modernizes them to use PyArg_ParseTuple() , the current argument parsing function, which provides more helpful error messages and treats multi-argument calls as...ule from source will require the same steps: first you simply mean unpack the tarball or zip archive, and the run " python setup.py install ". The platform will be automatically detected, the compiler will be recognized, C extension modules will be co...- separating the build from the install, building or installing in non-default directories, and more. Distutils を使うには setup.py スクリプトを書く必要があります。単純なケースでは、ソフトウェアが .py ファイルだけを含む場合、最小限の setup.py は数行足... - https://man.mtool.work/python/3.14/whatsnew/2.0.html