Python 3.6.5 ドキュメント 検索
Results of 181 - 190 of about 249 for FOR (0.654 sec.)
- 11.3. fileinput --- 複数の入力ストリームをまたいだ行の繰り返し処理をサポートする... 4408
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
。 典型的な使い方は以下の通りです: import fileinput for line in fileinput . input (): process ( line ) この...
nput ( files = ( 'spam.txt' , 'eggs.txt' )) as f : for line in f : process ( line ) バージョン 3.2 で変更...
- https://man.plustar.jp/python/library/fileinput.html - [similar]
- 20.2. html.parser--- HTML および XHTML のシンプルなパーサー — Python 3.6.5 ドキ... 4408
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
self , tag , attrs ): print ( "Start tag:" , tag ) for attr in attrs : print ( " attr:" , attr ) def hand...
_data() は 1 回以上呼び出される場合があります: >>> for chunk in [ '<sp' , 'an>buff' , 'ered ' , 'text</s'...
- https://man.plustar.jp/python/library/html.parser.html - [similar]
- 23.2. locale --- 国際化サービス — Python 3.6.5 ドキュメント 4408
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
スを順序付けて並べる際に使うことができます。 locale. format ( format , val , grouping=False , monetary=Fals...
ことに注意しましょう。フォーマット文字列を使う場合は format_string() を使用します。 locale. format_string (...
format , val , grouping=False ) ¶ format % val 形式のフ...
¶ 数字を書式化するためのロケールカテゴリです。関数 format() 、 atoi() 、 atof() および locale モジュールの...
- https://man.plustar.jp/python/library/locale.html - [similar]
- 18.1. socket --- 低水準ネットワークインターフェイス — Python 3.6.5 ドキュメント 4408
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
CAN ) は、それぞれ固有の形式をサポートしています。 For IPv4 addresses, two special forms are accepted ins...
. This behavior is not compatible with IPv6, therefore, you may want to avoid these if you intend to sup...
n , socket . CMSG_LEN ( maxfds * fds . itemsize )) for cmsg_level , cmsg_type , cmsg_data in ancdata : if...
T = 50007 # Arbitrary non-privileged port s = None for res in socket . getaddrinfo ( HOST , PORT , socket...
- https://man.plustar.jp/python/library/socket.html - [similar]
- What's New In Python 3.3 — Python 3.6.5 ドキュメント 4408
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
('@' プレフィクスが付いていても良いです)。 (訳注: format 参照。) いくつかの制限はありますが、 cast() メソ...
rtin in bpo-3561 .) 参考 PEP 397 - Python Launcher for Windows PEP written by Mark Hammond and Martin v....
テレータに対して、 yield from iterable は本質的には for item in iterable: yield item への単なる速記法です:...
sure the accumulator is ready to accept values >>> for i in range ( 4 ): ... acc . send ( i ) ... >>> acc...
- https://man.plustar.jp/python/whatsnew/3.3.html - [similar]
- ipaddressモジュールの紹介 — Python 3.6.5 ドキュメント 4377
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » ipad
...
t4 = ipaddress . ip_network ( '192.0.2.0/24' ) >>> for x in net4 . hosts (): ... print ( x ) 192.0.2.1 19...
t ValueError : print ( 'address/netmask is invalid for IPv4:' , address ) 関連キーワード: ipaddress , ネッ...
- https://man.plustar.jp/python/howto/ipaddress.html - [similar]
- ソート HOW TO — Python 3.6.5 ドキュメント 4377
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » ソー
...
>>> decorated = [( student . grade , i , student ) for i , student in enumerate ( student_objects )] >>>...
decorated . sort () >>> [ student for grade , i , student in decorated ] # undecorate [(...
ができます。 このイディオムの別名に Schwartzian transform があります。これは Perl プログラマの間で有名な Ra...
- https://man.plustar.jp/python/howto/sorting.html - [similar]
- 29.7. abc --- 抽象基底クラス — Python 3.6.5 ドキュメント 4377
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
s MyIterable : if any ( "__iter__" in B . __dict__ for B in C . __mro__ ): return True return NotImplemen...
y ( getattr ( f , '__isabstractmethod__' , False ) for f in ( self . _fget , self . _fset , self . _fdel...
- https://man.plustar.jp/python/library/abc.html - [similar]
- 24.2. cmd --- 行指向のコマンドインタープリタのサポート — Python 3.6.5 ドキュメ... 4377
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
マンドを持ったシェルの作成方法の簡単な例を示します。 forward() のような基本的な turtle コマンドは Cmd のサブ...
クラスに do_forward() と名付けられたメソッドで追加されます。 引数は...
= None # ----- basic turtle commands ----- def do_forward ( self , arg ): 'Move the turtle forward by th...
e specified distance: FORWARD 10' forward ( * parse ( arg )) def do_right (...
- https://man.plustar.jp/python/library/cmd.html - [similar]
- 23.1. gettext --- 多言語対応に関する国際化サービス — Python 3.6.5 ドキュメント 4377
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
lbatross' , 'rat' , 'penguin' , 'python' , ] # ... for a in animals : print ( a ) ここで、リスト animals...
), _ ( 'penguin' ), _ ( 'python' ), ] del _ # ... for a in animals : print ( _ ( a )) ダミーの _() 定義が...
rat' ), N_ ( 'penguin' ), N_ ( 'python' ), ] # ... for a in animals : print ( _ ( a )) この例では、飜訳可...
例の N_() という名前は好きに選べます; MarkThisStringForTranslation() という名前にしてしまっても構いません。...
- https://man.plustar.jp/python/library/gettext.html - [similar]