Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 249 for FOR (0.048 sec.)
5. データ構造 — Python 3.6.5 ドキュメント 7309
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 平方のリストを作りたいとします: >>> squares = [] >>> for x in range ( 10 ): ... squares . append ( x ** 2 ) ... ))) もしくは、以下でも同じです: squares = [ x ** 2 for x in range ( 10 )] これはより簡潔で読みやすいです。 ... リスト内包表記は、括弧の中の 式、 for 句、そして0個以上の for か if 句で構成されます。リ ... スト内包表記の実行結果は、 for と if 句のコンテキスト中で式を評価した結果からなる ...
https://man.plustar.jp/python/tutorial/datastructures.html - [similar]
6. 式 (expression) — Python 3.6.5 ドキュメント 7249
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... ルです。丸括弧、角括弧、または波括弧で囲われた形式 (form) もまた、構文上アトムに分類されます。atom の構文は ... tifier | literal | enclosure enclosure ::= parenth_form | list_display | dict_display | set_display | gen ... ェクトになります。 6.2.3. 丸括弧形式 (parenthesized form) ¶ 丸括弧形式とは、式リストの一形態で、丸括弧で囲 ... ったものです: parenth_form ::= "(" [ starred_expression ] ")" 丸括弧で囲われ ...
https://man.plustar.jp/python/reference/expressions.html - [similar]
10. 完全な文法仕様 — Python 3.6.5 ドキュメント 7249
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... ために使われる、完全な Python の文法です: # Grammar for Python # NOTE WELL: You should also follow all the ... tps://devguide.python.org/grammar/ # Start symbols for the grammar: # single_input is a single interactiv ... read from an input file; # eval_input is the input for the eval() functions. # NB: compound_stmt in singl ... | '|=' | '^=' | '<<=' | '>>=' | '**=' | '//=' ) # For normal and annotated assignments, additional restr ...
https://man.plustar.jp/python/reference/grammar.html - [similar]
21.21. socketserver --- ネットワークサーバのフレームワーク — Python 3.6.5 ドキ... 7109
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... his uses the Internet TCP protocol, which provides for continuous streams of data between the client and ... is uses datagrams, which are discrete packets of information that may arrive out of order or be lost whil ... e in transit. The parameters are the same as for TCPServer . class socketserver. UnixStreamServer ( ... ain sockets; they're not available on non-Unix platforms. The parameters are the same as for TCPServer . ...
https://man.plustar.jp/python/library/socketserver.html - [similar]
29.12. inspect --- 活動中のオブジェクトの情報を取得する — Python 3.6.5 ドキュメ... 6968
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... that this function only returns a meaningful name for actual Python modules - paths that potentially ref ... n() , isbuiltin() でない場合に真を返します。 This, for example, is true of int.__add__ . An object passin ... . getdoc ( object ) ¶ Get the documentation string for an object, cleaned up with cleandoc() . If the doc ... umentation string for an object is not provided and the object is a clas ...
https://man.plustar.jp/python/library/inspect.html - [similar]
関数型プログラミング HOWTO — Python 3.6.5 ドキュメント 6868
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » 関数 ... ラブルなオブジェクトを期待しますが、 最も重要なのは for 文です。 for X in Y という文の Y は、 イテレータか ... である必要があります。次の二つは同じ意味になります: for i in iter ( obj ): print ( i ) for i in obj : prin ... ' : 9 , 'Oct' : 10 , 'Nov' : 11 , 'Dec' : 12 } >>> for key in m : ... print ( key , m [ key ]) Mar 3 Feb ... ってファイルの各行を読んでいくことができるわけです: for line in file : # do something for each line ... セ ...
https://man.plustar.jp/python/howto/functional.html - [similar]
Python で Curses プログラミング — Python 3.6.5 ドキュメント 6767
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... es cursor-addressable text output and full support for mouse and keyboard input. Python の curses module ... attempt to be a complete guide to the curses API; for that, see the Python library guide's section on nc ... urses, and the C manual pages for ncurses. It will, however, give you the basic idea ... s. curses アプリケーションの起動と終了 ¶ Before doing anything, curses must be initialized. This ...
https://man.plustar.jp/python/howto/curses.html - [similar]
29.1. sys --- システムパラメータと関数 — Python 3.6.5 ドキュメント 6526
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 9' # decimal string with 15 significant digits >>> format ( float ( s ), '.15g' ) # convert to float and ... 11234567' # 16 significant digits is too many! >>> format ( float ( s ), '.16g' ) # conversion changes va ... less of their size. This function is mainly useful for tracking and debugging memory leaks. Because of th ... or implementation cannot reasonably compute this information, getallocatedblocks() is allowed to return 0 ...
https://man.plustar.jp/python/library/sys.html - [similar]
21.16. nntplib --- NNTP プロトコルクライアント — Python 3.6.5 ドキュメント 6456
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... p , overviews = s . over (( last - 9 , last )) >>> for id , over in overviews : ... print ( id , nntplib ... ver [ 'subject' ])) ... 1087 Re: Commit privileges for Łukasz Langa 1088 Re: 3.2 alpha 2 freeze 1089 Re: ... 3.2 alpha 2 freeze 1090 Re: Commit privileges for Łukasz Langa 1091 Re: Commit privileges for Łukasz ... t port port . An optional timeout can be specified for the socket connection. If the optional user and pa ...
https://man.plustar.jp/python/library/nntplib.html - [similar]
What's New In Python 3.5 — Python 3.6.5 ドキュメント 6456
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... オブジェクトは 待機可能 です。 PEP 492 により async for 文も追加されました。非同期イテラブルを反復するのに ... ' ), b 'Connection: close' , b '' , b '' ])) async for line in reader : print ( '>>>' , line ) writer . c ... f coro ( name , lock ): print ( 'coro {} : waiting for lock' . format ( name )) async with lock : print ( ... 'coro {} : holding the lock' . format ( name )) await asyncio . sleep ( 1 ) print ( ' ...
https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT