Results of 1 - 10 of about 31 for shell (0.007 sec.)
- IDLE --- Python のエディタとシェル 15271
- IDLE --- Python のエディタとシェル ソースコード: Lib/idlelib/ IDLE は Python の統合開発環境で、学習用環境です。 IDLE は次のような特徴があります: クロスプラットホーム: Windows, Unix, macOS で動作します コード入力、出力、エラーメッセージの色付
...け機能を持った Python shell (対話的インタプリタ) ウィンドウ 多段 Undo、 Python 対応の色づけ、自動的な字下げ、呼び出し情報の表示、自動補完、他たくさんの...ください。 配布する立場の場合は オプションのモジュールの要件 を参照してください。 メニュー IDLE には2種類のメインウィンドウ、Shell ウィンドウと Editor ウィンドウがあります。 Editor ウィンドウは同時に複数開けます。 Windows と Linux では、それぞれ個別のト...IDLE メニューがあり、以下で説明する一部の項目は Apple のガイドラインに合わせて別の場所に配置されています。 File メニュー (Shell ウィンドウ、Editor ウィンドウ) New File [新規ファイル] 新しいファイル編集ウィンドウを作成します。 Open... [開く...] Open ダ... - https://man.mtool.work/python/3.14/library/idle.html
- subprocess --- サブプロセス管理 11421
- subprocess --- サブプロセス管理 ソースコード: Lib/subprocess.py subprocess モジュールでは、新しいプロセスを生成し、その標準入力、標準出力、標準エラー出力のパイプに接続して、終了コードを取得できます。 このモジュールは、次のような古いモジュー
...きます。 subprocess. run ( args , * , stdin = None , input = None , stdout = None , stderr = None , capture_output = False , shell = False , cwd = None , timeout = None , check = False , encoding = None , errors = None , text = None , env = None , unive...n ([ "ls" , "-l" ]) # 出力を捕捉しない CompletedProcess(args=['ls', '-l'], returncode=0) >>> subprocess . run ( "exit 1" , shell = True , check = True ) Traceback (most recent call last): ... subprocess.CalledProcessError : Command 'exit 1' returned n...引数のよりわかりやすい名前として、 text 引数が追加されました。 capture_output 引数が追加されました。 バージョン 3.12 で変更: shell=True のときのWindowsシェル検索順序を変更しました。カレントディレクトリと %PATH% は、 %COMSPEC% と %SystemRoot%\System32\cm... - https://man.mtool.work/python/3.14/library/subprocess.html
- Tk によるグラフィカルユーザーインターフェース 10612
- Tk によるグラフィカルユーザーインターフェース Tk/Tcl は長きにわたり Python の不可欠な一部でありつづけています。 Tk/Tcl は頑健でプラットホームに依存しないウィンドウ構築ツールキットであり、 Python プログラマは tkinter パッケージやその拡張の t
...ttk.Treeview Ttk のスタイル設定 レイアウト その他のウィジェット IDLE --- Python のエディタとシェル メニュー File メニュー (Shell ウィンドウ、Editor ウィンドウ) Edit メニュー (Shell ウィンドウ、Editor ウィンドウ) Format メニュー (Editor ウィンドウのみ)...Run メニュー (Editor ウィンドウのみ) Shell メニュー (Shell ウィンドウのみ) Debug メニュー (Shell ウィンドウのみ) Options メニュー (Shell ウィンドウ、Editor ウィンドウ...) Window メニュー (Shell ウィンドウ、Editor ウィンドウ) Help メニュー (Shell ウィンドウ、Editor ウィンドウ) コンテキストメニュー 編集とナビゲーショ... - https://man.mtool.work/python/3.14/library/tk.html
- サブプロセス 9172
- サブプロセス ソースコード: Lib/asyncio/subprocess.py , Lib/asyncio/base_subprocess.py このセクションはサブプロセスの生成と管理を行う高水準の async/await asyncio API について説明します。 以下は、 asyncio モジュールがどのようにシェルコマンドを
...実行し、結果を取得できるかを示す例です: import asyncio async def run ( cmd ): proc = await asyncio . create_subprocess_shell ( cmd , stdout = asyncio . subprocess . PIPE , stderr = asyncio . subprocess . PIPE ) stdout , stderr = await proc . commu...e child process will be killed. バージョン 3.10 で変更: loop パラメータが削除されました。 async asyncio. create_subprocess_shell ( cmd , stdin = None , stdout = None , stderr = None , limit = 65536 , ** kwds ) シェルコマンド cmd を実行します。 limit 引...stderr 引数に subprocess.PIPE を渡した場合)。 Process のインスタンスを返します。 他のパラメータについては loop.subprocess_shell() のドキュメントを参照してください。 If the process object is garbage collected while the process is still running, the ch... - https://man.mtool.work/python/3.14/library/asyncio-subprocess.html
- 変更履歴 8363
- 変更履歴 次の Python バージョン リリース日: XXXX-XX-XX セキュリティ gh-160499 : Fix unbounded memory growth in asyncio TLS connections when a peer stops reading but keeps sending records that make OpenSSL generate its own replies (such as T
...-in modules, such as the HACL* objects needed by _blake2 when it is built in via Modules/Setup.local . gh-159819 : Fix the shell version of python3-config (used on all POSIX platforms except macOS) when the installation prefix contains spaces or other...characters special to the shell or sed : it printed an empty --prefix and wrong --includes / --ldflags paths while exiting successfully. The script now al...Error when formatting a SyntaxError raised with NotImplemented as its argument, which caused unexpected REPL exit and IDLE Shell restart. gh-152373 : Fix the pdb until command not stepping over a list comprehension when a breakpoint is set on it. Patc... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- pty --- 擬似端末ユーティリティ 8299
- pty --- 擬似端末ユーティリティ ソースコード: Lib/pty.py pty モジュールは、別のプロセスを起動してその制御端末をプログラムから読み書きする、擬似端末の操作を定義します。 利用可能な環境 : Unix. 擬似端末の扱いはプラットフォームに大きく依存します
...store_true' ) parser . add_argument ( 'filename' , nargs = '?' , default = 'typescript' ) options = parser . parse_args () shell = sys . executable if options . use_python else os . environ . get ( 'SHELL' , 'sh' ) filename = options . filename mode =...tarted, file is' , filename ) script . write (( 'Script started on %s \n ' % time . asctime ()) . encode ()) pty . spawn ( shell , read ) script . write (( 'Script done on %s \n ' % time . asctime ()) . encode ()) print ( 'Script done, file is' , file... - https://man.mtool.work/python/3.14/library/pty.html
- Pythonモジュール索引 8250
- Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ __future__ Future statement definitions __main__ The environment where top-level code is run. Covers command-line i
...ctl() system calls. filecmp Compare files efficiently. fileinput Loop over standard input or a list of files. fnmatch Unix shell style filename pattern matching. fractions Rational numbers. ftplib FTP protocol client (requires sockets). functools High...s Portable reading of passwords and retrieval of the userid. gettext Multilingual internationalization services. glob Unix shell style pathname pattern expansion. graphlib Functionality to operate with graph-like structures grp The group database (get...TP state management (cookies). http.server HTTP server and request handlers. i idlelib Implementation package for the IDLE shell/editor. imaplib IMAP4 protocol client (requires sockets). imghdr 非推奨: Removed in 3.13. imp 非推奨: Removed in 3.12. imp... - https://man.mtool.work/python/3.14/py-modindex.html
- 5. macOS で Python を使う 8121
- 5. macOS で Python を使う このドキュメントでは、Mac コンピュータで Python を使い始める際に知っておくべき、macOS 固有の挙動を概説します。 macOS を実行する Mac 上の Python は、ほかの Unix 派生プラットフォーム上の Python と非常によく似ています
...Frameworks/Python.framework , which includes the Python executable and libraries. The installer adds this location to your shell path. To uninstall Python, you can remove these three things. Symlinks to the Python executable are placed in /usr/local/b...fig , a configuration utility which may be useful for package builders. Since /usr/local/bin is typically included in your shell PATH , in most cases no changes to your PATH environment variables should be needed to use python3.14t . このリリースでは、...Shell profile updater パッケージと、 /Applications/Python 3.14/ にある Update Shell Profile.command は、フリースレッドパッケージ... - https://man.mtool.work/python/3.14/using/mac.html
- Python ドキュメントの目次 7862
- Python ドキュメントの目次 What's New in Python What's new in Python 3.14 概要 -- リリースハイライト 新しい機能 PEP 649 と PEP 749 : アノテーションの遅延評価 PEP 734 : 複数インタープリタ機能が標準ライブラリに追加 PEP 750 : テンプレート文字列
...ttk.Treeview Ttk のスタイル設定 レイアウト その他のウィジェット IDLE --- Python のエディタとシェル メニュー File メニュー (Shell ウィンドウ、Editor ウィンドウ) Edit メニュー (Shell ウィンドウ、Editor ウィンドウ) Format メニュー (Editor ウィンドウのみ)...Run メニュー (Editor ウィンドウのみ) Shell メニュー (Shell ウィンドウのみ) Debug メニュー (Shell ウィンドウのみ) Options メニュー (Shell ウィンドウ、Editor ウィンドウ...) Window メニュー (Shell ウィンドウ、Editor ウィンドウ) Help メニュー (Shell ウィンドウ、Editor ウィンドウ) コンテキストメニュー 編集とナビゲーショ... - https://man.mtool.work/python/3.14/contents.html
- cmd --- 行指向のコマンドインタープリターのサポート 7813
- cmd --- 行指向のコマンドインタープリターのサポート ソースコード: Lib/cmd.py Cmd クラスでは、行指向のコマンドインタープリタを書くための簡単なフレームワークを提供します。テストハーネスや管理ツール、そして、後により洗練されたインターフェイスで
...メソッドを持つ場合に限られます。 例外として、 '?' で始まる行は do_help() メソッドに振り分けます。 また、 '!' で始まる行は do_shell() メソッドが定義されていれば、そのメソッドに振り分けます。 このメソッドは、 postcmd() メソッドが真の値を返すと終了します。...イルを読み取り、記録されたコマンドを cmdqueue に追加してすぐに再生します。 import cmd , sys from turtle import * class TurtleShell ( cmd . Cmd ): intro = 'Welcome to the turtle shell. Type help or ? to list commands. \n ' prompt = '(turtle) ' file = Non...f zero or more numbers to an argument tuple' return tuple ( map ( int , arg . split ())) if __name__ == '__main__' : TurtleShell () . cmdloop () 以下は、turtle シェルでの機能のヘルプ表示、空行によるコマンドの繰り返し、単純な記録と再実行のセッション例で... - https://man.mtool.work/python/3.14/library/cmd.html