per page, with , order by , clip by
Results of 1 - 10 of about 33 for back (0.007 sec.)
A Conceptual Overview of asyncio 13749
A Conceptual Overview of asyncio この HOWTO では、 asyncio の基本的な仕組みをしっかり理解できるように説明します。 推奨される書き方がどのように動き、なぜ推奨されるのかを理解する助けになるでしょう。 asyncio の主要な概念について、疑問を持ってい ... jobs to be run. Some jobs are added directly by you, and some indirectly by asyncio . The event loop takes a job from its backlog of work and invokes it (or "gives it control"), similar to calling a function, and then that job runs. Once it pauses o ... more jobs pending execution, the event loop is smart enough to rest and avoid needlessly wasting CPU cycles, and will come back when there's more work to be done. 効率よく実行するには、ジョブ同士が処理の機会を分け合い、協力する必要があります。 欲張り ... oughly speaking, tasks are coroutines (not coroutine functions) tied to an event loop. A task also maintains a list of callback functions whose importance will become clear in a moment when we discuss await . The recommended way to create tasks is vi ...
https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
Pythonモジュール索引 10716
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 ... lementation of the simple DBM interface. dbm.gnu GNU database manager dbm.ndbm The New Database Manager dbm.sqlite3 SQLite backend for dbm decimal Implementation of the General Decimal Arithmetic Specification. difflib Helpers for computing differenc ... ent. enum Implementation of an enumeration class. errno Standard errno system symbols. f faulthandler Dump the Python traceback. fcntl The fcntl() and ioctl() system calls. filecmp Compare files efficiently. fileinput Loop over standard input or a li ... ulate mailboxes in various formats mailcap 非推奨: Removed in 3.13. marshal Convert Python objects to streams of bytes and back (with different constraints). math Mathematical functions (sin() etc.). mimetypes Mapping of filename extensions to MIME t ...
https://man.mtool.work/python/3.14/py-modindex.html
3. 形式ばらない Python の紹介 10716
3. 形式ばらない Python の紹介 以下の例ではプロンプト ( >>> と ... ) の有無で入力と出力を区別します。例を試すには、プロンプトが表示されているときに例のプロンプトより後ろの内容をすべて入力してください。プロンプトで始まらない行はインタープリタ ... 「定義」されていない (値が代入されていない) 変数を使おうとするとエラーになります: >>> n # 未定義の変数にアクセスする Traceback (most recent call last): File "<stdin>" , line 1 , in <module> NameError : name 'n' is not defined 浮動小数点数も全面的にサ ... で表され、一般に「文字列」と呼ばれます。 " ! " のような文字、 " rabbit " のような単語、 " Paris " のような名前、 " Got your back. " や " Yay! :) " のような文や表現などです。文字列はシングルクォート ( '...' ) またはダブルクォート ( "..." ) で囲み、どち ... らを使っても同じ結果になります [ 2 ] 。 >>> 'spam eggs' # シングルクォート 'spam eggs' >>> "Paris rabbit got your back :)! Yay!" # ダブルクォート 'Paris rabbit got your back :)! Yay!' >>> '1975' # クォートに囲まれた数字も文字列 '1975' 文字列 ...
https://man.mtool.work/python/3.14/tutorial/introduction.html
1. Extending Python with C or C++ 9706
1. Extending Python with C or C++ It is quite easy to add new built-in modules to Python, if you know how to program in C. Such extension modules can do two things that can't be done directly in Python: they can implement new built-in objec ... hat Py_ssize_t should be used in some APIs instead of int . It is not necessary since Python 3.13, but we keep it here for backward compatibility. See 文字列とバッファ for a description of this macro. All user-visible symbols defined by Python.h have ... a prefix of Py or PY , except those defined in standard header files. Tip For backward compatibility, Python.h includes several standard header files. C extensions should include the standard headers that ... the members of the Python tuple returned by sys.exc_info() . These are the exception type, exception instance, and a traceback object. It is important to know about them to understand how errors are passed around. Python API では、様々な型の例外をセ ...
https://man.mtool.work/python/3.14/extending/extending.html
getpass --- 可搬性のあるパスワード入力機構 9706
getpass --- 可搬性のあるパスワード入力機構 ソースコード: Lib/getpass.py 利用可能な環境 : not WASI. このモジュールは WebAssembly では動作しないか、利用不可です。詳しくは、 WebAssembly プラットフォーム を見てください。 getpass モジュールは 2 ... o_char='*' を指定すると、実際の入力の代わりにアスタリスクを表示します。 If echo-free input is unavailable, getpass() falls back to printing a warning message to stream and reading from sys.stdin and issuing a GetPassWarning . 注釈 If you call getpass ... でなく、様々な例外が送出されていました。 他のマニュアルの関連ページ Linux JM getpass(3) PHP phpdbg_prompt() PHP readline_callback_handler_install() Linux JM autoexpect(1) Linux JM ypchfn(1) Linux JM ypchsh(1) ...
https://man.mtool.work/python/3.14/library/getpass.html
What's New In Python 3.12 9706
What's New In Python 3.12 編集者 : Adam Turner この記事では Python 3.11 と比較した Python 3.12 の新機能を解説します。Python 3.12 は2023年10月2日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 693 -- Python 3.12 リリ ... ートを使用するなど)を使用する必要があります。 Python 3.12 では次のようなことができるようになりました: >>> songs = [ 'Take me back to Eden' , 'Alkaline' , 'Ascensionism' ] >>> f "This is the playlist: { ", " . join ( songs ) } " 'This is the playlist: T ... ake me back to Eden, Alkaline, Ascensionism' この変更以前は、 f-string のネスト方法に明示的な制限はありませんでしたが、 f-string の式コ ... 複数行にまたがる f 文字列を定義し、インラインコメントも追加できます。 >>> f"This is the playlist: {", ".join([ ... 'Take me back to Eden', # My, my, those eyes like fire ... 'Alkaline', # Not acid nor alkaline ... 'Ascensionism' # Take to the broken s ...
https://man.mtool.work/python/3.14/whatsnew/3.12.html
perf map のサポート 9192
perf map のサポート On supported platforms (as of this writing, only Linux), the runtime can take advantage of perf map files to make Python functions visible to an external profiling tool (such as perf ). A running process may create a fil ... set by the runtime or the most recent PyUnstable_PerfTrampoline_SetPersistAfterFork() call. If no trampoline is set, falls back to normal compilation (no perf map entry). パラメータ : code -- コンパイルするコードオブジェクト。 戻り値 : 0 on success, ...
https://man.mtool.work/python/3.14/c-api/perfmaps.html
Python インタプリタの拡張と埋め込み 9192
Python インタプリタの拡張と埋め込み This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can not only define new functions but also new object types and their methods. The ... module initialization 1. Extending Python with C or C++ 1.1. A Simple Example 1.2. Intermezzo: Errors and Exceptions 1.3. Back to the Example 1.4. The Module's Method Table and Initialization Function 1.5. Compilation and Linkage 1.6. C から Python ...
https://man.mtool.work/python/3.14/extending/
__future__ --- future 文の定義 9192
__future__ --- future 文の定義 ソースコード: Lib/__future__.py from __future__ import feature の形式でのインポートは future 文 の定義と呼ばれています。これらは特殊なケースで、 Python の新機能が標準になるリリースの前に Python コンパイラーが ... EP 749 を参照してください。 参考 future 文 (future statement) コンパイラがどのように future インポートを扱うか。 PEP 236 - Back to the __future__ __future__ 機構の原案 他のマニュアルの関連ページ PHP halt_compiler() PHP swoole_timer_after() Linux JM g ...
https://man.mtool.work/python/3.14/library/__future__.html
What's New In Python 3.11 8695
What's New In Python 3.11 編集者 : Pablo Galindo Salgado この記事では Python 3.10 と比較した Python 3.11 の新機能を解説します。Python 3.11 は2022年10月24日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要 -- リリースハイ ... 化 トレースバックの出力時に、インタープリタはエラーを送出した行だけでなく正確な式を指し示すようになりました。たとえば: Traceback ( most recent call last ): File "distance.py" , line 11 , in < module > print ( manhattan_distance ( p1 , p2 )) ^^^^^^^^^^ ... でした。これらの強化されたエラーは、深くネストされた dict オブジェクトや複数の関数呼び出しを処理するときにも役立ちます: Traceback ( most recent call last ): File "query.py" , line 37 , in < module > magic_arithmetic ( 'foo' ) File "query.py" , line 18 ... etry = True ) ~~~~~~~~~~~~~~~~~~^^^^^ TypeError : 'NoneType' object is not subscriptable 複雑な算術式でも役立ちます。 Traceback ( most recent call last ): File "calculation.py" , line 54 , in < module > result = ( x / y / z ) * ( a / b / c ) ~~~~~~^~ ...
https://man.mtool.work/python/3.14/whatsnew/3.11.html
PREV 1 2 3 4 NEXT