Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 230 for NAME (0.037 sec.)
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 6599
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... eal = SomeClass () >>> real . method = MagicMock ( name = 'method' ) >>> real . method ( 3 , 4 , 5 , key = ... 'value' ) <MagicMock name='method()' id='...'> モック(上の例では real.method ... 属性やメソッドにも伝播します: >>> mock = MagicMock ( name = 'foo' ) >>> mock <MagicMock name='foo' id='...'> ... >>> mock . method <MagicMock name='foo.method' id='...'> 26.6.1.5. 全ての呼び出しのト ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
14.1. csv --- CSV ファイルの読み書き — Python 3.6.5 ドキュメント 6445
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... pam' , 'Wonderful Spam' ]) csv. register_dialect ( name [ , dialect [ , **fmtparams ] ] ) ¶ dialect を nam ... e と関連付けます。 name は文字列でなければなりません。表現形式(dialect)は ... タ 節を参照してください。 csv. unregister_dialect ( name ) ¶ name に関連づけられた表現形式を表現形式レジスト ... リから削除します。 name が表現形式名でない場合には Error を送出します。 cs ...
https://man.plustar.jp/python/library/csv.html - [similar]
13.5. zipfile --- ZIP アーカイブの処理 — Python 3.6.5 ドキュメント 6331
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... するためのクラスです。 class zipfile. ZipInfo ( filename='NoName' , date_time=(1980 , 1 , 1 , 0 , 0 , 0) ) ... モジュールによって作成されたものを使用できます。 filename はアーカイブメンバのフルネームでなければならず、 d ... ト 節で説明されています。 zipfile. is_zipfile ( filename ) ¶ filename が正しいマジックナンバをもつ ZIP ファ ... True を返し、そうでない場合 False を返します。 filename にはファイルやファイルライクオブジェクトを渡すこと ...
https://man.plustar.jp/python/library/zipfile.html - [similar]
26.3. doctest --- 対話的な実行例をテストする — Python 3.6.5 ドキュメント 6301
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... : result *= factor factor += 1 return result if __name__ == "__main__" : import doctest doctest . testmod ... の最後を、以下のようにして締めくくることです: if __name__ == "__main__" : import doctest doctest . testmod ... st__ におけるキー K は、以下の名前で表示されます < name of M >. __test__ . K 検索中に見つかったクラスも同様 ... 録する方法もあります: doctest. register_optionflag ( name ) ¶ 名前 name の新たなオプションフラグを作成し、作 ...
https://man.plustar.jp/python/library/doctest.html - [similar]
21.16. nntplib --- NNTP プロトコルクライアント — Python 3.6.5 ドキュメント 6301
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ews.gmane.org' ) >>> resp , count , first , last , name = s . group ( 'gmane.comp.python.committers' ) >>> ... print ( 'Group' , name , 'has' , count , 'articles, range' , first , 'to' ... 3.4 で変更: このクラスは ssl.SSLContext.check_hostname と Server Name Indication でホスト名のチェックをサ ... er a file object opened for binary writing, or the name of an on-disk file to be written to. The method wi ...
https://man.plustar.jp/python/library/nntplib.html - [similar]
17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 6259
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... cessing import Pool def f ( x ): return x * x if __name__ == '__main__' : with Pool ( 5 ) as p : print ( p ... ましょう from multiprocessing import Process def f ( name ): print ( 'hello' , name ) if __name__ == '__main ... ef info ( title ): print ( title ) print ( 'module name:' , __name__ ) print ( 'parent process:' , os . ge ... )) print ( 'process id:' , os . getpid ()) def f ( name ): info ( 'function f' ) print ( 'hello' , name ) ...
https://man.plustar.jp/python/library/multiprocessing.html - [similar]
6.1. string --- 一般的な文字列操作 — Python 3.6.5 ドキュメント 6218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... at_stringを探査し、タプル、 ( literal_text , field_name , format_spec , conversion ) のイテラブルを返します ... 文字列となります。置換フィールドが無い場合は、 field_name , format_spec および conversion が None となります ... 。 get_field ( field_name , args , kwargs ) ¶ 引数として与えた parse() (上記 ... 参照) により返される field_name を書式指定対象オブジェクトに変換します。返り値はタ ...
https://man.plustar.jp/python/library/string.html - [similar]
21.27. xmlrpc.server --- 基本的なXML-RPCサーバー — Python 3.6.5 ドキュメント 6187
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... SimpleXMLRPCServer. register_function ( function , name=None ) ¶ XML-RPC リクエストに応じる関数を登録します ... 。引数 name が与えられた場合はそれが関数 function に関連付けら ... れます。 そうでない場合は function.__name__ の値が用いられます。 name は通常の文字列でもユニ ... erver. register_instance ( instance , allow_dotted_names=False ) ¶ オブジェクトを登録します。 オブジェクト ...
https://man.plustar.jp/python/library/xmlrpc.server.html - [similar]
31.2. pkgutil --- パッケージ拡張ユーティリティ — Python 3.6.5 ドキュメント 6146
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ィです。 class pkgutil. ModuleInfo ( module_finder , name , ispkg ) ¶ モジュールの概要情報を格納する namedtu ... バージョン 3.6 で追加. pkgutil. extend_path ( path , name ) ¶ パッケージを構成するモジュールの検索パスを拡張 ... extend_path __path__ = extend_path ( __path__ , __name__ ) 上記はパッケージの __path__ に sys.path の全デ ... したいときに役立ちます。 同時に *.pkg の * の部分が name 引数に指定された文字列に一致するファイルの検索もお ...
https://man.plustar.jp/python/library/pkgutil.html - [similar]
19.1.9. email.message.Message: Representing an email message using the compat32 ... 6074
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ers and a payload . Headers must be RFC 5233 style names and values, where the field name and value are se ... a colon. The colon is not part of either the field name or the field value. The payload may be a simple te ... Message pseudo-dictionary is indexed by the header names, which must be ASCII values. The values of the di ... ed and returned in case-preserving form, but field names are matched case-insensitively. There may also be ...
https://man.plustar.jp/python/library/email.compat32-message.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT