Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 178 for This (0.027 sec.)
Argument Clinic How-To — Python 3.6.5 ドキュメント 12899
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu ... ine, so the sample code doesn't have to change for this step.) Above the docstring, enter the name of the ... function, followed by a blank line. This should be the Python name of the function, and sho ... the open file. [clinic start generated code]*/ If this is the first time that module or class has been us ... ed with Argument Clinic in this C file, you must declare the module and/or class. ...
https://man.plustar.jp/python/howto/clinic.html - [similar]
19.1.4. email.policy: ポリシーオブジェクト — Python 3.6.5 ドキュメント 9793
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... convenience functions, and for the Message class, this is the Compat32 policy, via its corresponding pre- ... defined instance compat32 . This policy provides for complete backward compatibilit ... th the pre-Python3.3 version of the email package. This default value for the policy keyword to EmailMessa ... described in the parser module. The first part of this documentation covers the features of Policy , an a ...
https://man.plustar.jp/python/library/email.policy.html - [similar]
マップ型プロトコル (mapping protocol) — Python 3.6.5 ドキュメント 9348
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... object provides mapping protocol, and 0 otherwise. This function always succeeds. Py_ssize_t PyMapping_Siz ... For objects that do not provide mapping protocol, this is equivalent to the Python expression len(o) . in ... ject key from the object o . Return -1 on failure. This is equivalent to the Python statement del o[key] . ... ject key from the object o . Return -1 on failure. This is equivalent to the Python statement del o[key] . ...
https://man.plustar.jp/python/c-api/mapping.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 9304
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... name)-8s %(message)s ' ) # tell the handler to use this format console . setFormatter ( formatter ) # add ... five boxing wizards jump quickly.' ) When you run this, on the console you will see root : INFO Jackdaws ... ternal # thread which monitors the internal queue. This is what # you want to happen. root . warning ( 'Lo ... ler ): """Handler for a streaming logging request. This basically logs the record using whatever logging p ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
19.1.6. email.headerregistry: カスタムヘッダーオブジェクト — Python 3.6.5 ドキ... 9248
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... the policy in effect when the headers are created. This section documents the particular header_factory im ... lookup table stored in the HeaderRegistry . All of this is managed transparently for the typical applicati ... header (the portion of the field before the ':'). This is exactly the value passed in the header_factory ... rted. max_count ¶ The maximum number of headers of this type that can have the same name . A value of None ...
https://man.plustar.jp/python/library/email.headerregistry.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 9137
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... _called_with ( a = 1 , b = 2 , c = 3 ) If you want this smarter matching to also work with method calls on ... ..) constructor still return normal dates. Without this you can find yourself having to calculate an expec ... g dates, or other builtin classes, is discussed in this blog entry . 26.6.3.3. ジェネレータ method をモック ... ethod for iteration is __iter__() , so we can mock this using a MagicMock . Here's an example class with a ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 8424
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ' ) instance . __dict__ [ self . name ] = value # this is the new initializer: def __set_name__ ( self , ... orically been represented as str or bytes objects. This has led to people who write code which operate on ... code, including Python's standard library. To fix this situation, a new interface represented by os.PathL ... on of a file system path as a str or bytes object. This means an object is considered path-like if it impl ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
Python で Curses プログラミング — Python 3.6.5 ドキュメント 7768
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... addstr() into a single addstr() method. You'll see this covered in more detail later. This HOWTO is an int ... Before doing anything, curses must be initialized. This is done by calling the initscr() function, which w ... ns a window object representing the entire screen; this is usually called stdscr after the name of the cor ... and only display them under certain circumstances. This requires calling the noecho() function. curses . n ...
https://man.plustar.jp/python/howto/curses.html - [similar]
21.21. socketserver --- ネットワークサーバのフレームワーク — Python 3.6.5 ドキ... 7612
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... , RequestHandlerClass , bind_and_activate=True ) ¶ This uses the Internet TCP protocol, which provides for ... , RequestHandlerClass , bind_and_activate=True ) ¶ This uses datagrams, which are discrete packets of info ... tHandler class and overriding its handle() method; this method will process incoming requests. Second, you ... must be different for datagram or stream services. This can be hidden by using the handler subclasses Stre ...
https://man.plustar.jp/python/library/socketserver.html - [similar]
28.4. zipapp --- 実行可能な python zip 書庫を管理する — Python 3.6.5 ドキュメン... 7445
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... not work for users who do not have that version. (This may be what you want if you have not made your cod ... Python installed on their system. The key to doing this is to bundle all of the application's dependencies ... -m pip install -r requirements.txt --target myapp (this assumes you have your project requirements in a re ... n using: $ python -m zipapp -p "interpreter" myapp This will produce a standalone executable, which can be ...
https://man.plustar.jp/python/library/zipapp.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT