Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 107 for example (0.025 sec.)
31.1. zipimport --- Zip アーカイブからモジュールを import する — Python 3.6.5 ... 7839
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... レクトリ下から import を行わせたりできます。例えば、 example.zip/lib/ のように指定すると、アーカイブ中の lib/ サ ... に使われていないことに注意してください。 $ unzip -l example.zip Archive: example.zip Length Date Time Name --- ... , 19:54:32) >>> import sys >>> sys.path.insert(0, 'example.zip') # Add .zip file to front of path >>> import ... jwzthreading >>> jwzthreading.__file__ 'example.zip/jwzthreading.py' 関連キーワード: モジュール , ...
https://man.plustar.jp/python/library/zipimport.html - [similar]
正規表現 HOWTO — Python 3.6.5 ドキュメント 7634
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » 正規 ... てより少ない繰り返しを再び試みます。 A step-by-step example will make this more obvious. Let's consider the ex ... requires at least one occurrence. To use a similar example, ca+t will match 'cat' (1 'a' ), 'caaat' (3 'a' s) ... of it as marking something as being optional. For example, home-?brew matches either 'homebrew' or 'home-bre ... ust be at least m repetitions, and at most n . For example, a/{1,3}b will match 'a/b' , 'a//b' , and 'a///b' ...
https://man.plustar.jp/python/howto/regex.html - [similar]
19.1.9. email.message.Message: Representing an email message using the compat32 ... 7634
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... in to complete the transformation to a string (for example, MIME boundaries may be generated or modified). No ... ot always format the message the way you want. For example, by default it does not do the mangling of lines t ... nstance and use its flatten() method directly. For example: from io import StringIO from email.generator impo ... in to complete the transformation to a string (for example, MIME boundaries may be generated or modified). No ...
https://man.plustar.jp/python/library/email.compat32-message.html - [similar]
urllib パッケージを使ってインターネット上のリソースを取得するには — Python 3.6.... 7532
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » urll ... できます: req = urllib . request . Request ( 'ftp://example.com/' ) HTTP の場合には、リクエストオブジェクトに対 ... =Python&location=Northampton >>> url = 'http://www.example.com/example.cgi' >>> full_url = url + '?' + url_va ... ld use it instead of None. top_level_url = "http://example.com/foo/" password_mgr . add_password ( None , top ... rrorProcessor 。 top_level_url は実際には " http://example.com/ " のような完全な URL ('http:' スキームとホスト ...
https://man.plustar.jp/python/howto/urllib2.html - [similar]
19.1.6. email.headerregistry: カスタムヘッダーオブジェクト — Python 3.6.5 ドキ... 7429
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... that is determined by the type of the header. For example, many headers have the class UnstructuredHeader as ... ied syntax is treated as unstructured. The classic example of an unstructured header is the Subject header. I ... , value may be datetime instance. This means, for example, that the following code is valid and does what on ... module: msg [ 'Date' ] = utils . localtime () This example sets the date header to the current time and date ...
https://man.plustar.jp/python/library/email.headerregistry.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 7429
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... re operating on a path-like object). Here are some examples of how the new interface allows for pathlib.Path ... the traceback where a memory block was allocated. Example of fatal error on buffer overflow using python3.6 ... the corresponding operation is not available. For example, if a class sets __iter__() to None , the class is ... epeated {count} more times]" (see traceback for an example). (Contributed by Emanuel Barry in bpo-26823 .) Im ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
Logging HOWTO — Python 3.6.5 ドキュメント 7225
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... import logging logging . basicConfig ( filename = 'example.log' , level = logging . DEBUG ) logging . debug ( ... 複数回実行すると、2 回目以降の実行によるメッセージは example.log に加えられます。以前の実行によるメッセージを記 ... ことができます: logging . basicConfig ( filename = 'example.log' , filemode = 'w' , level = logging . DEBUG ) ... ide a datefmt argument to basicConfig , as in this example: import logging logging . basicConfig ( format = ' ...
https://man.plustar.jp/python/howto/logging.html - [similar]
What's New In Python 3.3 — Python 3.6.5 ドキュメント 7225
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... sage ( policy = SMTP ) >>> m [ 'To' ] = 'Éric <foo@example.com>' >>> m [ 'to' ] 'Éric <foo@example.com>' >>> ... dress(display_name='Éric', username='foo', domain='example.com'),) >>> m [ 'to' ] . addresses [ 0 ] . usernam ... 00' >>> print ( m ) To: =?utf-8?q?=C3=89ric?= <foo@example.com> Date: Fri, 25 May 2012 21:44:27 -0400 Unicode ... = [ Group ( 'pals' , [ Address ( 'Bob' , 'bob' , 'example.com' ), ... Address ( 'Sally' , 'sally' , 'example ...
https://man.plustar.jp/python/whatsnew/3.3.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 7020
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... ort logging logger = logging . getLogger ( 'simple_example' ) logger . setLevel ( logging . DEBUG ) # create ... t . start () logger = logging . getLogger ( 'simpleExample' ) try : # loop through logging calls to see the d ... ustomAdapter ( logging . LoggerAdapter ): """ This example adapter expects the passed in dict-like object to ... r however you want, but note that in this # simple example, the listener does not apply level or filter logic ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
21.12. http.client --- HTTP プロトコルクライアント — Python 3.6.5 ドキュメント 7020
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... するために他の HTTP ヘッダにマッピングされます。 For example, to tunnel through a HTTPS proxy server running lo ... sending of Host: or Accept-Encoding: headers (for example to accept additional content encodings), specify s ... is will return entire content. >>> # The following example demonstrates reading data in chunks. >>> conn . re ... 200 bytes b'<!doctype html>\n<!--[if"... ... >>> # Example of an invalid request >>> conn . request ( "GET" , ...
https://man.plustar.jp/python/library/http.client.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT