Results of 1 - 10 of about 24 for written (0.011 sec.)
- pprint --- データの整形表示 12076
- pprint --- データの整形表示 ソースコード: Lib/pprint.py pprint モジュールは、任意の Python データ構造を、インタープリタへの入力に使える形式で「整形表示」する機能を提供します。 整形するデータ構造に Python の基本的な型以外のオブジェクトが含ま
...================\n' '\n' 'This is the description file for the project.\n' '\n' 'The file should use UTF-8 encoding and be written using ' 'ReStructured Text. It\n' 'will be used to generate the project webpage on PyPI, and ' 'should be written for\n' '...================\n' '\n' 'This is the description file for the project.\n' '\n' 'The file should use UTF-8 encoding and be written using ' 'ReStructured Text. It\n' 'will be used to generate the project webpage on PyPI, and ' 'should be written for\n' '...==========\n' '\n' 'This is the description file for the ' 'project.\n' '\n' 'The file should use UTF-8 encoding and be ' 'written using ReStructured Text. It\n' 'will be used to generate the project ' 'webpage on PyPI, and should be written ' 'for\n' '... - https://man.mtool.work/python/3.14/library/pprint.html
- What's New In Python 3.3 11809
- What's New In Python 3.3 この記事では 3.2 と比較した Python 3.3 の新機能を解説します。 Python 3.3 は2012年9月29日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 398 - Python 3.3 リリーススケジュール 概要 -- リリース
...リタは仮想環境のディレクトリツリーの存在を示す pyvenv.cfg をチェックします。 参考 PEP 405 - Python Virtual Environments PEP written by Carl Meyer; implementation by Carl Meyer and Vinay Sajip PEP 420: 暗黙的な名前空間パッケージ __init__.py マーカーファイ...に記載された様々なサードパーティでの名前空間のアプローチに影響されています) 参考 PEP 420 - Implicit Namespace Packages PEP written by Eric V. Smith; implementation by Eric V. Smith and Barry Warsaw PEP 3118: 新たなメモリビューの実装とバッファプロトコルの...マークでわかっています (詳細は PEP をみてください)。 参考 PEP 393 - 文字列の柔軟な表現 (Flexible String Representation) PEP written by Martin von Löwis; implementation by Torsten Becker and Martin von Löwis. PEP 397: Windows の Python ランチャ Python 3.3... - https://man.mtool.work/python/3.14/whatsnew/3.3.html
- What's New In Python 3.7 10792
- What's New In Python 3.7 編集者 : Elvis Pranskevichus < elvis @ magic . io > この記事では Python 3.6 と比較した Python 3.7 の新機能を解説します。Python 3.7 は2018年6月27日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要
...ture__ import annotations この振る舞いは Python 3.10 でデフォルトになります。 参考 PEP 563 -- アノテーションの遅延評価 PEP written and implemented by Łukasz Langa. PEP 538: レガシーな C ロケールの抑圧 Python 3 シリーズにおける継続中の課題の一つは、非 Wi...0: 強制 UTF-8 実行モード も実装されています。 参考 PEP 538 -- レガシーな C ロケールから UTF-8 ベースのロケールへの強制 PEP written and implemented by Nick Coghlan. PEP 540: 強制 UTF-8 実行モード 新しいコマンドラインオプション -X utf8 と環境変数 PYTHONUT...LC_ALL が設定されている場合も、適切な変更先のロケールがない場合も同様です。 参考 PEP 540 -- 新しい UTF-8 モードの追加 PEP written and implemented by Victor Stinner PEP 553: 組み込みの breakpoint() Python 3.7 には、 Python デバッガへ入って行くための簡単... - https://man.mtool.work/python/3.14/whatsnew/3.7.html
- contextlib --- with 文コンテキスト用ユーティリティ 10008
- contextlib --- with 文コンテキスト用ユーティリティ ソースコード: Lib/contextlib.py このモジュールは with 文に関わる一般的なタスクのためのユーティリティを提供します。詳しい情報は、 コンテキストマネージャ型 と with文とコンテキストマネージャ を
...>>> stream = StringIO () >>> write_to_stream = redirect_stdout ( stream ) >>> with write_to_stream : ... print ( "This is written to the stream rather than stdout" ) ... with write_to_stream : ... print ( "This is also written to the stream" ) ... >>>...print ( "This is written directly to stdout" ) This is written directly to stdout >>> print ( stream . getvalue ()) This is written to the stream r...ather than stdout This is also written to the stream リエントラントな性質の実例はお互いを呼び出しあう複数の関数を含んでいる可能性が高く、したがってこの例よりもは... - https://man.mtool.work/python/3.14/library/contextlib.html
- runpy --- Python モジュールの位置特定と実行 10008
- runpy --- Python モジュールの位置特定と実行 ソースコード: Lib/runpy.py runpy モジュールは、Python モジュールをあらかじめインポートせずに見つけて実行するために使います。 主な用途はコマンドラインオプション -m の実装です。 このオプションを使う
...cached__ 、 __loader__ 、 __package__ の設定は非推奨になりました。 参考 PEP 338 - モジュールをスクリプトとして実行する PEP written and implemented by Nick Coghlan. PEP 366 - main モジュールの明示的な相対インポート PEP written and implemented by Nick Cog...hlan. PEP 451 -- インポートシステムのための ModuleSpec 型 PEP written and implemented by Eric Snow コマンドラインと環境 - CPython コマンドライン詳細 importlib.import_module() 関数 他のマニュア... - https://man.mtool.work/python/3.14/library/runpy.html
- What's New In Python 3.4 10008
- What's New In Python 3.4 著者 : R. David Murray < rdmurray @ bitdance . com > (編集者) この記事では 3.3 と比較した Python 3.4 の新機能を解説します。 Python 3.4 は2014年3月16日にリリースされました。全詳細については 変更履歴 をご覧ください。
...ocket.get_inheritable() , socket.socket.set_inheritable() 参考 PEP 446 -- 新規作成されたファイル記述子を継承不可にする PEP written and implemented by Victor Stinner. Codec 処理の改良 その最初の導入からずっと、 codecs モジュールとはいつなんどきも、型に中...、このモジュールは 暫定 API であるとみなされています。 参考 PEP 3156 -- 非同期 IO サポートの再起動: "asyncio" モジュール PEP written and implementation led by Guido van Rossum. (訳注: PEP タイトルの「Asynchronous IO Support Rebooted: the "asyncio" Module」...ージを提供したり、より良いデバッグサポートを行えるようになります。 参考 PEP 435 -- Python 標準ライブラリに enum 型を追加 PEP written by Barry Warsaw, Eli Bendersky and Ethan Furman, implemented by Ethan Furman. pathlib 新規モジュール pathlib は、異なるオペ... - https://man.mtool.work/python/3.14/whatsnew/3.4.html
- What's New In Python 3.5 9758
- What's New In Python 3.5 エディタ : Elvis Pranskevichus < elvis @ magic . io >, Yury Selivanov < yury @ magic . io > この記事では 3.4 と比較した Python 3.5 の新機能を解説します。 Python 3.5 は2015年9月13日にリリースされました。 全詳細につい
...の 非同期イテレータ (Asynchronous Iterator) 節を参照してください。 参考 PEP 492 -- コルーチン、 async 構文と await 構文 PEP written and implemented by Yury Selivanov. PEP 465 - 行列の乗算専用の中置演算子 PEP 465 により、行列乗算の中置演算子 @ が追加されま...[[ 1., 0., 0.], [ 0., 1., 0.], [ 0., 0., 1.]]) >>> x @ m array([ 1., 1., 1.]) 参考 PEP 465 -- 行列乗算専用の中置演算子 PEP written by Nathaniel J. Smith; implemented by Benjamin Peterson. PEP 448 - 追加可能なアンパックへの一般化 PEP 448 によって、 * イテ..., 1, 2, 3, 4, 5, 6, 7} >>> { 'x' : 1 , ** { 'y' : 2 }} {'x': 1, 'y': 2} 参考 PEP 448 -- 追加可能なアンパックへの一般化 PEP written by Joshua Landau; implemented by Neil Girdhar, Thomas Wouters, and Joshua Landau. PEP 461 - bytes および bytearray のパーセ... - https://man.mtool.work/python/3.14/whatsnew/3.5.html
- What's New in Python 2.7 8723
- What's New in Python 2.7 著者 : A.M. Kuchling (amk at amk.ca) この文書は Python 2.7 の新機能について解説します。Python 2.7 は 2010 年 7 月 3 日にリリースされました。 数値周りの扱いが、浮動小数点数でも Decimal クラスでもいろいろな点で改良され
...ました。 PyYAML などのサードパーティーのツールにも対応が追加されました。 参考 PEP 372 - collections に順序付き辞書を追加 PEP written by Armin Ronacher and Raymond Hettinger; implemented by Raymond Hettinger. PEP 378: 1000区切りのための書式指定子 大きい数値...カンマ書式機構は locale ほど汎用ではありませんが、手軽に使うことができます。 参考 PEP 378 - 1000区切りのための書式指定子 PEP written by Raymond Hettinger; implemented by Eric Smith. PEP 389: コマンドライン解析のための argparse モジュール コマンドライン引数...parse を使うコードを変換する方法を説明した Python のドキュメントの一部 PEP 389 - argparse コマンドライン解析モジュール PEP written and implemented by Steven Bethard. PEP 391: logging の辞書ベースの設定 logging モジュールは非常に柔軟です。アプリケーション... - https://man.mtool.work/python/3.14/whatsnew/2.7.html
- What's New In Python 3.2 8723
- What's New In Python 3.2 著者 : Raymond Hettinger この記事では Python 3.1 と比較した Python 3.2 の新機能を説明します。 Python 3.2 は 2011 年 2 月 20 日にリリースされました。 主な変更点をいくつか取り上げ、例を示します。 すべての詳細については
...ジュールでは、相変わらず全ての Python 公式リリースごとに再ビルドする必要があるでしょう。 参考 PEP 384 - 安定 ABI の定義 PEP written by Martin von Löwis. PEP 389: argparse コマンドライン解析モジュール コマンドライン解析のために、新たに argparse モジュール...設定 $ ./helm.py steer --course 180 --speed 5 # 移動のパラメータを設定 参考 PEP 389 - 新しいコマンドライン解析モジュール PEP written by Steven Bethard. optparse を使うコードを argparse に移行する に optparse との違いが詳しく書かれています。 PEP 391: loggi...al termination" ) 2011-02-17 11:14:36,694 root CRITICAL Abnormal termination 参考 PEP 391 - logging の辞書ベースの設定 PEP written by Vinay Sajip. PEP 3148: concurrent.futures モジュール 同時並行性 (concurrency) を生成・管理するコードはトップレベルの新し... - https://man.mtool.work/python/3.14/whatsnew/3.2.html
- What's New In Python 3.1 8456
- What's New In Python 3.1 著者 : Raymond Hettinger この記事では Python 3.0 と比較した Python 3.1 の新機能を説明します。 Python 3.1 は 2009 年 6 月 27 日にリリースされました。 PEP 372: 順序付き辞書 通常の Python 辞書は、 key/value ペアを不定の
..._pairs_hook 引数が追加されました。 PyYAML などの外部のライブラリでもサポートされています。 参考 PEP 372 - 順序付き辞書 PEP written by Armin Ronacher and Raymond Hettinger. Implementation written by Raymond Hettinger. 順序付き辞書は挿入順序を記憶するので...タについていくつかのサポートを既に持っている既存の n 指定子を使うべきです。 参考 PEP 378 - 1000区切りのための書式指定子 PEP written by Raymond Hettinger and implemented by Eric Smith and Mark Dickinson. その他の言語変更 Python 言語コアに小さな変更がいくつ... - https://man.mtool.work/python/3.14/whatsnew/3.1.html