Python 3.6.5 ドキュメント 検索
Results of 31 - 40 of about 54 for re (0.074 sec.)
- 32.7. tokenize --- Pythonソースのためのトークナイザ — Python 3.6.5 ドキュメント 6942
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
する際の色付け機能 (colorizers) を含む "清書出力器 (pretty-printer)" を実装する上で便利です。 To simplify...
token stream handling, all operator and delimiter tokens and...
Ellipsis are returned using the generic OP token type. The exac...
hecking the exact_type property on the named tuple returned from tokenize.tokenize() . 32.7.1. 入力のトー...
- https://man.plustar.jp/python/library/tokenize.html - [similar]
- 26.4. unittest --- ユニットテストフレームワーク — Python 3.6.5 ドキュメント 6942
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
でサポートしています: テストフィクスチャ (test fixture) テストフィクスチャ ( test fixture ) とは、テスト実...
使う事も出来ます。その基本的な使い方は: cd project_directory python - m unittest discover 注釈 python -m u...
あります: -v , --verbose ¶ 詳細な出力 -s , --start-directory directory ¶ ディスカバリを開始するディレクトリ...
パターン (デフォルトは test*.py ) -t , --top-level-directory directory ¶ プロジェクトの最上位のディスカバリ...
- https://man.plustar.jp/python/library/unittest.html - [similar]
- 26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 6942
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ブジェクトのメソッドを置き換えることができます: >>> real = SomeClass () >>> real . method = MagicMock ( n...
ame = 'method' ) >>> real . method ( 3 , 4 , 5 , key = 'value' ) <MagicMoc...
k name='method()' id='...'> モック(上の例では real.method )が利用された場合、どう使われたかを asser...
f something ( self , a , b , c ): ... pass ... >>> real = ProductionClass () >>> real . something = Magi...
- https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
- Pythonモジュール索引 — Python 3.6.5 ドキュメント 6942
- ナビゲーション 索引 モジュール | Python » 3.6.5 ドキュメント » Pythonモジュール索引 _ | a | b |
...
o | p | q | r | s | t | u | v | w | x | z _ __future__ Future statement definitions __main__ The enviro...
nment where the top-level script is run. _dummy_thread Drop-in...
replacement for the _thread module. _thread Low-level...
threading API. a abc Abstract base classes according to...
- https://man.plustar.jp/python/py-modindex.html - [similar]
- What's New in Python 2.1 — Python 3.6.5 ドキュメント 6942
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
定義は動きません: def f (): ... def g ( value ): ... return g ( value - 1 ) + 1 ... 名前 g はローカルの名前...
変数を頻繁に見かけます。: def find ( self , name ): "Return list of any entries equal to 'name'" L = filte...
name = name : x == name , self . list_attribute ) return L 過度な関数型スタイルで書かれた Python コード...
す: x = 1 def f (): # The next line is a syntax error exec 'x=2' def g (): return x exec 文を含む 4 行目は...
- https://man.plustar.jp/python/whatsnew/2.1.html - [similar]
- What's New in Python 2.5 — Python 3.6.5 ドキュメント 6942
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
。新しいモジュールとしては、XML 処理のための ElementTree ( xml.etree )、SQLite データベースのためのモジュー...
使うというものでもありません。条件式(conditional expressions)がついに言語に追加されました。ちょっと変わっ...
た文法です。 PEP 308: 条件式 (Conditional Expressions) のセクションを参照してください。新しい ' wi...
グをあげてください。 PEP 308: 条件式 (Conditional Expressions) ¶ もう長いことずっと、人々は条件式を書くため...
- https://man.plustar.jp/python/whatsnew/2.5.html - [similar]
- What's New In Python 3.3 — Python 3.6.5 ドキュメント 6942
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
dler (低水準のクラッシュのデバッグを補助する) ipaddress (IPアドレスとマスクを表す高水準オブジェクト) lzm...
: バッファオブジェクト構造体 (buffer object structure) 参照)。これはコンシューマの要求型をチェックします...
ted by Stefan Krah in bpo-10181 .) 参考 PEP 3118 - Revising the Buffer Protocol PEP 393: 文字列の柔軟な表...
もには使ってはいけません (see bpo-13054 )。 ./configure スクリプトのフラグ --with-wide-unicode は削除されま...
- https://man.plustar.jp/python/whatsnew/3.3.html - [similar]
- 33.1. formatter --- 汎用の出力書式化機構 — Python 3.6.5 ドキュメント 6882
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
es が挿入されるようにします。 formatter. add_line_break ( ) ¶ 強制改行挿入します。既に強制改行がある場合...
断しません。引数とキーワードは writer の send_line_break() メソッドに渡されます。 formatter. add_flowing_...
スタックとしても解釈され得ます。 writer. send_line_break ( ) ¶ 現在の行を改行します。 writer. send_paragr...
る場合、このメソッドの呼び出しに先立って send_line_break() の呼び出しを受ける必要あります; このメソッドに...
- https://man.plustar.jp/python/library/formatter.html - [similar]
- Python 標準ライブラリ — Python 3.6.5 ドキュメント 6882
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
るでしょう。 In addition to the standard library, there is a growing collection of several thousand compon...
ndividual programs and modules to packages and entire application development frameworks), available fro...
処理サービス 6.1. string --- 一般的な文字列操作 6.2. re --- 正規表現操作 6.3. difflib --- 差分の計算を助け...
. unicodedata --- Unicode データベース 6.6. stringprep --- インターネットのための文字列調製 6.7. readlin...
- https://man.plustar.jp/python/library/index.html - [similar]
- 18.9. mmap --- メモリマップファイル — Python 3.6.5 ドキュメント 6882
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
きます。例えば、メモリマップファイルを探索するために re モジュールを使うことができます。それらは可変なので...
。 access は3つの値の内の1つを受け入れます。 ACCESS_READ は読み出し専用、 ACCESS_WRITE は書き込み可能、 A...
モリ値は、指定されたファイルから得られます。 ACCESS_READ 型のメモリマップに対して書き込むと TypeError 例外...
class mmap. mmap ( fileno , length , flags=MAP_SHARED , prot=PROT_WRITE|PROT_READ , access=ACCESS_DEFAU...
- https://man.plustar.jp/python/library/mmap.html - [similar]