Python 3.6.5 ドキュメント 検索
Results of 31 - 40 of about 65 for func (0.078 sec.)
- 16.10. curses --- 文字セル表示を扱うための端末操作 — Python 3.6.5 ドキュメント 6613
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
een immediately change to the new definition. This function is a no-op on most terminals; it is active onl...
ue of the given window's mouse event mask. If this function is never called, no mouse events are ever repo...
。 curses. resize_term ( nlines , ncols ) ¶ Backend function used by resizeterm() , performing most of the...
ese areas with appropriate data. The resize_term() function attempts to resize all windows. However, due t...
- https://man.plustar.jp/python/library/curses.html - [similar]
- 27.5. timeit --- 小さなコード断片の実行時間計測 — Python 3.6.5 ドキュメント 6613
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
Timer ( stmt='pass' , setup='pass' , timer=<timer function> , globals=None ) ¶ 小さなコード片の実行時間を...
any times to call timeit() . This is a convenience function that calls timeit() repeatedly so that the tot...
タを渡すことができます: def test (): """Stupid test function""" L = [ i for i in range ( 100 )] if __name__...
n x ** 8 import timeit print ( timeit . timeit ( '[func(42) for func in (f,g,h)]' , globals = globals ()))...
- https://man.plustar.jp/python/library/timeit.html - [similar]
- What's New in Python 2.6 — Python 3.6.5 ドキュメント 6613
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
r as exc 。 組み込み関数 reduce() への別名としての functools.reduce() の追加。 Python 3.0 はいくつかの新し...
pute a factorial." # If N is a multiple of 4, this function will take much longer. if ( N % 4 ) == 0 : tim...
出来ます。たとえば: >>> from __future__ import print_function >>> print ( '# of entries' , len ( dictionary...
かどうかをチェックするのには、今やこう書けます: def func ( d ): if not isinstance ( d , collections . Mutab...
- https://man.plustar.jp/python/whatsnew/2.6.html - [similar]
- 超高水準レイヤ — Python 3.6.5 ドキュメント 6512
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
upon failure. int (*PyOS_InputHook) ( void ) ¶ int func(void) というプロトタイプの関数へのポインタが設定で...
イベントループを統合できます。 char* (*PyOS_ReadlineFunctionPointer) ( FILE * , FILE * , const char * ) ¶ c...
har *func(FILE *stdin, FILE *stdout, char *prompt) というプロ...
- https://man.plustar.jp/python/c-api/veryhigh.html - [similar]
- プログラミング FAQ — Python 3.6.5 ドキュメント 6512
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問
...
lers will never provide a third parameter for this function. def expensive ( arg1 , arg2 , _cache = {}): i...
す。例えば、以下のような関数定義があったとして: def func ( foo , bar = None , ** kwargs ): pass foo 、 bar...
、 kwargs は func の仮引数です。一方、 func を呼び出すときには、例え...
ば: func ( 42 , bar = 314 , extra = somevar ) 42 、 314 、...
- https://man.plustar.jp/python/faq/programming.html - [similar]
- デスクリプタ HowTo ガイド — Python 3.6.5 ドキュメント 6512
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » デス
...
ommon that they have been packaged into individual function calls. Properties, bound methods, static metho...
わされています。 Class dictionaries store methods as functions. In a class definition, methods are written u...
sing def or lambda , the usual tools for creating functions. Methods only differ from regular functions i...
any other variable name. To support method calls, functions include the __get__() method for binding meth...
- https://man.plustar.jp/python/howto/descriptor.html - [similar]
- 16.4. argparse --- コマンドラインオプション、引数、サブコマンドのパーサー — Pyt... 6512
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
7' , '-1' , '42' ]) Namespace(accumulate=<built-in function sum>, integers=[7, -1, 42]) スクリプト内では、...
'2' , '3' , '4' ]) Namespace(accumulate=<built-in function max>, integers=[1, 2, 3, 4]) >>> parser . pars...
, '4' , '--sum' ]) Namespace(accumulate=<built-in function sum>, integers=[1, 2, 3, 4]) 16.4.4.6. Namespa...
行するかを教えることです。例えば: >>> # sub-command functions >>> def foo ( args ): ... print ( args . x *...
- https://man.plustar.jp/python/library/argparse.html - [similar]
- 18.5.1. 基底イベントループ — Python 3.6.5 ドキュメント 6512
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
受け付けません。 コールバックに引数を渡したい場合は functools.partial() を使用してください。 例えば loop.ca...
ll_soon(functools.partial(print, "Hello", flush=True)) は print...
lush=True) を呼び出します。 注釈 lambda 関数よりも functools.partial() を使用しましょう。 asyncio はデバッ...
グモードで引数を表示するよう functools.partial() オブジェクトを精査することが出来ます...
- https://man.plustar.jp/python/library/asyncio-eventloop.html - [similar]
- 用語集 — Python 3.6.5 ドキュメント 6412
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » 用語集 ¶ >>> インタ
...
装されます。 PEP 492 を参照してください。 coroutine function (コルーチン関数) coroutine オブジェクトを返す関...
とに注意してください。 PEP 238 を参照してください。 function (関数) 呼び出し側に値を返す一連の文のことです。...
仮引数 、 メソッド 、 関数定義 を参照してください。 function annotation An arbitrary metadata value associa...
ted with a function parameter or return value. Its syntax is expla...
- https://man.plustar.jp/python/glossary.html - [similar]
- 18.5.3. タスクとコルーチン — Python 3.6.5 ドキュメント 6412
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
を避ける際は コルーチン関数 と呼びます ( iscoroutinefunction() は True を返します)。 コルーチン関数の呼び出...
r schedule its execution using the ensure_future() function or the AbstractEventLoop.create_task() method....
ented as coroutines, even if they are plain Python functions returning a Future . This is intentional to h...
a freedom of tweaking the implementation of these functions in the future. If such a function is needed t...
- https://man.plustar.jp/python/library/asyncio-task.html - [similar]