Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 41 - 50 of about 177 for string (0.084 sec.)
21.18. smtpd --- SMTP サーバー — Python 3.6.5 ドキュメント 5908
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... rcpttos are the envelope recipients and data is a string containing the contents of the e-mail (which shoul ... t.accept received_lines ¶ Holds a list of the line strings (decoded using UTF-8) received from the client. T ... lient sends a "DATA" line. seen_greeting ¶ Holds a string containing the greeting sent by the client in its ... "HELO". mailfrom ¶ Holds a string containing the address identified in the "MAIL FRO ...
https://man.plustar.jp/python/library/smtpd.html - [similar]
27.5. timeit --- 小さなコード断片の実行時間計測 — Python 3.6.5 ドキュメント 5908
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... とが可能です: $ python -m timeit -s 'text = "sample string"; char = "g"' 'char in text' 10000000 loops, best ... sec per loop $ python -m timeit -s 'text = "sample string"; char = "g"' 'text.find(char)' 1000000 loops, bes ... timeit ( 'char in text' , setup = 'text = "sample string"; char = "g"' ) 0.41440500499993504 >>> timeit . t ... meit ( 'text.find(char)' , setup = 'text = "sample string"; char = "g"' ) 1.7246671520006203 同じことは Time ...
https://man.plustar.jp/python/library/timeit.html - [similar]
7. 入力と出力 — Python 3.6.5 ドキュメント 5908
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... テラル や str.format() メソッドを利用することです。 string モジュールの Template クラスも、文字列中の値を置換 ... x is 32.5, and y is 40000... >>> # The repr() of a string adds string quotes and backslashes: ... hello = 'h ... f) や f.readlines() を使うこともできます。 f.write(string) は、 string の内容をファイルに書き込み、書き込まれ ... 42 ) >>> s = str ( value ) # convert the tuple to string >>> f . write ( s ) 18 f.tell() は、ファイルオブジ ...
https://man.plustar.jp/python/tutorial/inputoutput.html - [similar]
What's New In Python 3.5 — Python 3.6.5 ドキュメント 5908
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ntributed by Berker Peksag in bpo-24064 .) The UserString class now implements the __getnewargs__() , __rmod ... ConfigParser ( converters = conv ) >>> cfg . read_string ( """ ... [s] ... list = a b c d e f g ... """ ) > ... >>> import contextlib , io , logging >>> f = io . StringIO () >>> with contextlib . redirect_stderr ( f ): ... iff_bytes() function can now compare lists of byte strings. This fixes a regression from Python 2. (Contribu ...
https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
Unicode オブジェクトと codec — Python 3.6.5 ドキュメント 5830
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... ん。 バージョン 3.3 で追加. PyObject * PyUnicode_FromStringAndSize ( const char *u , Py_ssize_t size ) ¶ char ... _New() を使ってください。 PyObject * PyUnicode_FromString ( const char *u ) ¶ UTF-8 エンコードされたnull終端 ... す。 バージョン 3.3 で追加. PyObject * PyUnicode_Substring ( PyObject *str , Py_ssize_t start , Py_ssize_t en ... encode and decode file names and other environment strings, Py_FileSystemDefaultEncoding should be used as t ...
https://man.plustar.jp/python/c-api/unicode.html - [similar]
32.2. ast --- 抽象構文木 — Python 3.6.5 ドキュメント 5830
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... -- ASDL's 7 builtin types are: -- identifier, int, string, bytes, object, singleton, constant -- -- singleto ... erent -- col_offset is the byte offset in the utf8 string the parser uses attributes (int lineno, int col_of ... ) | Num(object n) -- a number as a PyObject. | Str(string s) -- need to specify raw, unicode, etc? | Formatt ... ctx) -- col_offset is the byte offset in the utf8 string the parser uses attributes (int lineno, int col_of ...
https://man.plustar.jp/python/library/ast.html - [similar]
19.1.14. email.utils: 多方面のユーティリティ — Python 3.6.5 ドキュメント 5830
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... バージョン 3.3 で追加. email.utils. make_msgid ( idstring=None , domain=None ) ¶ Returns a string suitable f ... RFC 2822 -compliant Message-ID header. Optional idstring if given, is a string used to strengthen the uniqu ... then usegmt may be set to True , in which case the string GMT is used instead of the numeric timezone offset ... のリストをデコードします。 params は (content-type, string-value) のような形式の 2 要素タプルです。 脚注 [1] ...
https://man.plustar.jp/python/library/email.util.html - [similar]
21.12. http.client --- HTTP プロトコルクライアント — Python 3.6.5 ドキュメント 5830
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... le object , or an iterable of bytes . If body is a string, it is encoded as ISO-8859-1, the default for HTTP ... ct a body ( PUT , POST , and PATCH ). If body is a string or a bytes-like object that is not also a file , t ... ends a line to the server consisting of the method string, the url string, and the HTTP version ( HTTP/1.1 ) ... . If 'default' is any iterable other than a single string, its elements are similarly returned joined by com ...
https://man.plustar.jp/python/library/http.client.html - [similar]
36.1. optparse --- コマンドラインオプション解析器 — Python 3.6.5 ドキュメント 5830
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ion ( "-f" , "--file" , action = "store" , type = "string" , dest = "filename" ) 例えば、以下のように指定して ... 出力します。 型を指定しない場合、 optparse は引数を string であると仮定します。デフォルトのアクションが store ... ( "-f" , "--filename" , action = "store" , type = "string" , dest = "filename" ), make_option ( "-q" , "--qu ... ion ( "-f" , "--file" , action = "store" , type = "string" , dest = "filename" ) パーズしたコマンドラインに以 ...
https://man.plustar.jp/python/library/optparse.html - [similar]
24.3. shlex --- 単純な字句解析 — Python 3.6.5 ドキュメント 5830
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ke object with read() and readline() methods, or a string. If no argument is given, input will be taken from ... stdin . The second optional argument is a filename string, which sets the initial value of the infile attrib ... returned as a single token. If set to a non-empty string of characters, those characters will be used as th ... では単に '#' が入っています。 shlex. wordchars ¶ The string of characters that will accumulate into multi-char ...
https://man.plustar.jp/python/library/shlex.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 NEXT