Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 71 - 80 of about 274 for IN (0.106 sec.)
8.13. enum --- 列挙型のサポート — Python 3.6.5 ドキュメント 5102
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 合を定義するのに使用できる 4 つの列挙型クラス Enum , IntEnum , Flag , IntFlag を定義しています。 このモジュ ... については 機能 API を参照してください。 class enum. IntEnum ¶ int のサブクラスでもある列挙型定数を作成する ... 基底クラスです。 class enum. IntFlag ¶ 列挙型定数を作成する基底クラスで、ビット演算 ... 子を使って組み合わせられ、その結果も IntFlag メンバーになります。 IntFlag は int のサブクラ ...
https://man.plustar.jp/python/library/enum.html - [similar]
19.1.7. email.contentmanager: MIME 内容の管理 — Python 3.6.5 ドキュメント 5073
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... mimetype of msg (see next paragraph), call it, passing through all arguments, and return the result of t ... payload from msg and return an object that encodes information about the extracted data. To find the han ... dler, look for the following keys in the registry, stopping with the first one ... found: 完全な MIME 型を表す文字列 ( maintype/subtype ) maintype を表す文字列 空の文字列 If ...
https://man.plustar.jp/python/library/email.contentmanager.html - [similar]
変更履歴 — Python 3.6.5 ドキュメント 5073
Filter entries by content:', ' ', ' ' ].join('\n')); function dofilter() { try { var query = new ... tch (e) { return; // not a valid regex (yet) } // find headers for the versions (What's new in Python X. ... Y.Z?) $('#changelog h2').each(function(index1, h2) { var h2_parent = $(h2).parent(); var sec ... tions_found = 0; // find headers for the sections (Core, Library, etc.) h2 ... _parent.find('h3').each(function(index2, h3) { var h3_parent = ...
https://man.plustar.jp/python/whatsnew/changelog.html - [similar]
26.8. test --- Python 用回帰テストパッケージ — Python 3.6.5 ドキュメント 5043
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... necessary def setUp ( self ): ... code to execute in preparation for tests ... def tearDown ( self ): . ... _feature_one ( self ): # Test feature one. ... testing code ... def test_feature_two ( self ): # Test fe ... ature two. ... testing code ... ... more test methods ... class MyTestCa ... ... ... more test classes ... if __name__ == '__main__' : unittest . main () このコードのパターンを使う ...
https://man.plustar.jp/python/library/test.html - [similar]
What's New In Python 3.0 — Python 3.6.5 ドキュメント 5043
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... n » What's New In Python 3.0 ¶ 著者: Guido van Rossum この記事では 2 ... れていたら躓いてしまいそうな少数の変更の一覧です。 print関数 ¶ print 文は print() 関数に置き換えられ、古い ... print 文の特殊な文法の殆どがキーワード引数で置き換えられ ... ています ( PEP 3105 )。 例: Old : print "The answer is" , 2 * 2 New : print ( "The answer ...
https://man.plustar.jp/python/whatsnew/3.0.html - [similar]
12.6. sqlite3 --- SQLite データベースに対する DB-API 2.0 インタフェース — Pytho... 5014
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... とも可能です。 sqlite3 モジュールの著者は Gerhard Häring です。 PEP 249 で記述されている DB-API 2.0 に準拠 ... ns text, symbol text, qty real, price real)''' ) # Insert a row of data c . execute ( "INSERT INTO stock ... ることがあります。) 例を示します: # Never do this -- insecure! symbol = 'RHAT' c . execute ( "SELECT * FRO ... stocks WHERE symbol = ' %s '" % symbol ) # Do this instead t = ( 'RHAT' ,) c . execute ( 'SELECT * FROM ...
https://man.plustar.jp/python/library/sqlite3.html - [similar]
27.5. timeit --- 小さなコード断片の実行時間計測 — Python 3.6.5 ドキュメント 5014
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... する方法を示しています。 $ python3 -m timeit '"-".join(str(n) for n in range(100))' 10000 loops, best of ... 3: 30.2 usec per loop $ python3 -m timeit '"-".join([str(n) for n in range(100)])' 10000 loops, best o ... f 3: 27.5 usec per loop $ python3 -m timeit '"-".join(map(str, range(100)))' 10000 loops, best of 3: 23. ... ます: >>> import timeit >>> timeit . timeit ( '"-".join(str(n) for n in range(100))' , number = 10000 ) 0. ...
https://man.plustar.jp/python/library/timeit.html - [similar]
デスクリプタ HowTo ガイド — Python 3.6.5 ドキュメント 4995
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » デス ... クリプタ HowTo ガイド ¶ 著者: Raymond Hettinger Contact: <python at rcn dot com> 目次 デスクリプ ... す。 定義と導入 ¶ 一般に、デスクリプタは "束縛動作 (binding behavior)" をもつオブジェクト属性で、その属性ア ... tribute__ ( self , key ): "Emulate type_getattro() in Objects/typeobject.c" v = object . __getattribute_ ... riptor that sets and returns values normally and prints a message logging their access. """ def __init__ ...
https://man.plustar.jp/python/howto/descriptor.html - [similar]
15.3. secrets --- 機密を扱うために安全な乱数を生成する — Python 3.6.5 ドキュメ... 4995
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 長さのトークンを扱いたい場合、様々な token_* 関数に int 引数で渡すことで、トークンに使用するランダムさを明 ... ットと数字を含むパスワードを生成するには: import string alphabet = string . ascii_letters + string . digi ... ts password = '' . join ( choice ( alphabet ) for i in range ( 8 )) 注釈 ア ... つ含む、10文字のパスワードを生成するには: import string alphabet = string . ascii_letters + string . digi ...
https://man.plustar.jp/python/library/secrets.html - [similar]
4. その他の制御フローツール — Python 3.6.5 ドキュメント 4995
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 最もおなじみの文型は if 文でしょう。例えば: >>> x = int ( input ( "Please enter an integer: " )) Please e ... nter an integer: 42 >>> if x < 0 : ... x = 0 ... print ( 'Neg ... ative changed to zero' ) ... elif x == 0 : ... print ( 'Zero' ) ... elif x == 1 : ... print ( 'Single' ... ) ... else : ... print ( 'More' ) ... More ゼロ個以上の elif 部を使うこと ...
https://man.plustar.jp/python/tutorial/controlflow.html - [similar]