per page, with , order by , clip by
Results of 1 - 10 of about 17 for commands (0.005 sec.)
cmd --- 行指向のコマンドインタープリターのサポート 14311
cmd --- 行指向のコマンドインタープリターのサポート ソースコード: Lib/cmd.py Cmd クラスでは、行指向のコマンドインタープリタを書くための簡単なフレームワークを提供します。テストハーネスや管理ツール、そして、後により洗練されたインターフェイスで ... precmd() and postcmd() methods for useful execution hooks. The return value is a flag indicating whether interpretation of commands by the interpreter should stop. If there is a do_*() method for the command line , the return value of that method is retu ... help_*() メソッドがある場合です。 Cmd. undoc_header The header to issue if the help output has a section for undocumented commands (that is, there are do_*() methods without corresponding help_*() methods). Cmd. ruler ヘルプメッセージのヘッダの下に、区切 ... d , sys from turtle import * class TurtleShell ( cmd . Cmd ): intro = 'Welcome to the turtle shell. Type help or ? to list commands. \n ' prompt = '(turtle) ' file = None # ----- basic turtle commands ----- def do_forward ( self , arg ): 'Move the turtle ...
https://man.mtool.work/python/3.14/library/cmd.html
pdb --- Python デバッガ 11259
pdb --- Python デバッガ ソースコード: Lib/pdb.py pdb モジュールは Python プログラム用の対話型ソースコードデバッガを定義しています。 条件付きブレークポイントの設定、ソース行単位でのステップ実行、スタックフレームの調査、ソースコードの表示、任 ... び出しが返したものはなんでも返します。関数に入るとすぐにデバッガプロンプトが現れます。 pdb. set_trace ( * , header = None , commands = None ) 呼び出し元のスタックフレームでデバッガに入ります。 コードがデバッグ中でなくても、例えばアサーションが失敗したとき ... ム内の特定の位置にブレークポイントを埋め込むのに便利です。 header を指定すると、デバッグ開始の直前にコンソールに表示します。 commands 引数を指定する場合は、デバッガの開始時に実行するコマンドのリストです。 バージョン 3.7 で変更: header キーワード専用引数。 ... で変更: set_trace() は、次に実行されるコードの行を待たずに、直ちにデバッガに入るようになりました。 Added in version 3.14: commands 引数。 awaitable pdb. set_trace_async ( * , header = None , commands = None ) set_trace() の非同期版です。 非同期関数内で ...
https://man.mtool.work/python/3.14/library/pdb.html
4. Windows で Python を使う 10035
4. Windows で Python を使う このドキュメントは、 Python を Microsoft Windows で使うときに知っておくべき、 Windows 固有の動作についての概要を伝えることを目的としています。 多くの Unix システムやサービスと異なり、Windows にはシステムでサポート ... hon from the CPython team, use the Python install manager. This is a standalone tool that makes Python available as global commands on your Windows machine, integrates with the system, and supports updates over time. You can download the Python install m ... コマンドもセッション内で使えるようにできます。 仮想環境は python -m venv <env path> で作成してください。 If the python or py commands do not seem to be working, see the Troubleshooting section below. There are sometimes additional manual steps required to ... イムと一致します。 $> 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-formatted output. 4.1.5 ...
https://man.mtool.work/python/3.14/using/windows.html
optparse を使うコードを argparse に移行する 8811
optparse を使うコードを argparse に移行する argparse モジュールは、 optparse モジュールに標準では備わっていない、次のような高水準の機能を提供します。 位置引数を扱う サブコマンドのサポート。 + , / のような代替オプションプレフィクスを許容する ... t('--version', action='version', version='<the version>') に置き換える 他のマニュアルの関連ページ Django custom-management-commands PHP migration80 PHP xml_parse() PHP migration81 PHP migration83 PHP migration74 ...
https://man.mtool.work/python/3.14/howto/argparse-optparse.html
importlib.metadata -- パッケージメタデータへのアクセス 8604
importlib.metadata -- パッケージメタデータへのアクセス Added in version 3.8. バージョン 3.10 で変更: importlib.metadata は暫定的なものではなくなりました。 ソースコード: Lib/importlib/metadata/__init__.py importlib.metadata は、インストール済 ... または 'name') によって選択できる、エントリポイントのコレクションも取得できます。 グループには console_scripts や distutils.commands などがあり、各グループは EntryPoint オブジェクトのコレクションを含みます。 ディストリビューションのメタデータ を取得するこ ... このオブジェクトには、便利な names 属性と groups 属性があります。 >>> sorted ( eps . groups ) ['console_scripts', 'distutils.commands', 'distutils.setup_keywords', 'egg_info.writers', 'setuptools.installation'] EntryPoints には、特定の属性に合うエントリポイ ...
https://man.mtool.work/python/3.14/library/importlib.metadata.html
拡張と埋め込み FAQ 8190
拡張と埋め込み FAQ C で独自の関数を作ることはできますか? はい。関数、変数、例外、そして新しいタイプまで含んだビルトインモジュールを C で作れます。これはドキュメント Python インタプリタの拡張と埋め込み で説明されています。 ほとんどの中級から ... の関連ページ Linux JM stdout(3) Linux JM stderr(3) PHP features.commandline.io-streams PHP print() Django custom-management-commands PHP mongodb.configuration ...
https://man.mtool.work/python/3.14/faq/extending.html
はじめに 8190
はじめに Python 標準ライブラリはモジュールの集まりです。 これらのモジュールはさまざまな観点で分類できます。 大部分は Python で書かれていますが、C で書かれたものもあります。 どのモジュールもプログラムにインポートして機能を追加できます。 スタ ... の関連ページ Linux JM stdout(3) Linux JM stderr(3) PHP features.commandline.io-streams Django index Django custom-management-commands Docker 言語別ガイド ...
https://man.mtool.work/python/3.14/library/intro.html
10. 標準ライブラリをひとめぐり 8190
10. 標準ライブラリをひとめぐり 10.1. オペレーティングシステムとのインターフェース os モジュールは、オペレーティングシステムと対話するための多くの関数を提供しています: >>> import os >>> os . getcwd () # Return the current working directory ' ... 連ページ PHP glob() Linux JM glob(7) Linux JM glob(3) PHP zlib.requirements Linux JM zlib-flate(1) Django custom-management-commands ...
https://man.mtool.work/python/3.14/tutorial/stdlib.html
GDB による C API 拡張と CPython 内部のデバッグ 7983
GDB による C API 拡張と CPython 内部のデバッグ このドキュメントでは、Python の GDB 拡張 python-gdb.py を GDB デバッガと組み合わせて、CPython 拡張や CPython インタープリタ自体をデバッグする方法を説明します。 クラッシュやデッドロックなどの低レ ... read the relevant frame information, depending on the optimization level with which CPython was compiled. Internally, the commands look for C frames that are executing the default frame evaluation function (that is, the core bytecode interpreter loop wi ...
https://man.mtool.work/python/3.14/howto/gdb_helpers.html
Argparse チュートリアル 7776
Argparse チュートリアル author : Tshepang Mbambo このチュートリアルでは、 argparse を丁寧に説明します。 argparse は、Python 標準ライブラリの一部であり、おすすめのコマンドライン引数の解析モジュールです。 注釈 標準ライブラリには、コマンドライ ... ルの関連ページ PHP hrtime.examples PHP xml_parse() PHP fann_get_mse() PHP pg_set_error_verbosity() Django custom-management-commands PHP xml_parse_into_struct() ...
https://man.mtool.work/python/3.14/howto/argparse.html
PREV 1 2 NEXT