Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 55 for lines (0.024 sec.)
19.1.8. email: 使用例 — Python 3.6.5 ドキュメント 7953
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... e-mail headers are in a file, uncomment these two lines: # with open(messagefile, 'rb') as fp: # headers = ... ast formatted payload is and print the first three lines. Of course, # if the message has no plain text par ... t printing the first three lines of html # is probably useless, but this is just a ... int ( '' . join ( simplest . get_content () . splitlines ( keepends = True )[: 3 ])) ans = input ( "View fu ...
https://man.plustar.jp/python/library/email.examples.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 7805
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... bpo-25958 .) Long sequences of repeated traceback lines are now abbreviated as "[Previous line repeated {c ... display now abbreviate long sequences of repeated lines in tracebacks as shown in the following example: > ... method now abbreviates long sequences of repeated lines as "[Previous line repeated {count} more times]" . ... k.modname , traceback.fullmodname , traceback.find_lines_from_code , traceback.find_lines , traceback.find_ ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
14.2. configparser --- 設定ファイルのパーサー — Python 3.6.5 ドキュメント 7657
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... . ... interpolation not necessary = if # is not at line start ... even in multiline values = line #1 ... li ... ][ 'interpolation not necessary' ]) if # is not at line start >>> print ( parser [ 'hashes' ][ 'even in mul ... ser の振る舞いは strict=False に該当します。 empty_lines_in_values , デフォルト値: True 設定パーサーでは、キ ... inline_comment_prefixes=None , strict=True , empty_lines_in_values=True , default_section=configparser.DEFA ...
https://man.plustar.jp/python/library/configparser.html - [similar]
Python で Curses プログラミング — Python 3.6.5 ドキュメント 7495
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... termine the size of the screen by using the curses.LINES and curses.COLS variables to obtain the y and x si ... coordinates will then extend from (0,0) to (curses.LINES - 1, curses.COLS - 1) . When you call a method to ... racters can be displayed in different ways. Status lines in a text-based application are commonly shown in ... a 15-character string, with the cursor on the top line s = stdscr . getstr ( 0 , 0 , 15 ) The curses.textp ...
https://man.plustar.jp/python/howto/curses.html - [similar]
6.4. textwrap --- テキストの折り返しと詰め込み — Python 3.6.5 ドキュメント 7347
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... の先頭に prefix を追加します。 行の分割は text.splitlines(True) で行います。 デフォルトでは、(改行文字を含む ... くなることがあります。このため、テキストを( str.splitlines() などを使って)段落ごとに分けて別々に wrap する必要 ... は、常にハイフンの直後での改行を許していました。 max_lines ¶ (デフォルト None ) None 以外の場合、出力は行数 m ... ax_lines を超えないようにされ、切り詰める際には出力の最後の ...
https://man.plustar.jp/python/library/textwrap.html - [similar]
6.3. difflib --- 差分の計算を助ける — Python 3.6.5 ドキュメント 7199
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... のメソッドが public になっています: make_file ( fromlines , tolines , fromdesc='' , todesc='' , context=Fals ... e , numlines=5 , * , charset='utf-8' ) ¶ fromlines と tolines ( ... れもデフォルト値は空文字列です)。 context および numlines はともにオプションのキーワード引数です。 context を ... False にすると完全なファイル差分を表示します。 numlines のデフォルト値は 5 で、 context が True の場合、 n ...
https://man.plustar.jp/python/library/difflib.html - [similar]
11.9. linecache --- テキストラインにランダムアクセスする — Python 3.6.5 ドキュ... 7199
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... bout a non-file-based module to permit getting its lines later via getline() even if module_globals is None ...
https://man.plustar.jp/python/library/linecache.html - [similar]
19.9. quopri --- MIME quoted-printable 形式データのエンコードおよびデコード — P... 7199
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... Note that spaces and tabs appearing at the end of lines are always encoded, as per RFC 1521 . header is a ...
https://man.plustar.jp/python/library/quopri.html - [similar]
24.3. shlex --- 単純な字句解析 — Python 3.6.5 ドキュメント 7199
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... . This is useful, for example, for parsing command lines with shlex , getting tokens in a similar way to sh ... it does allow you to perform processing of command lines more easily than you could otherwise. To illustrat ...
https://man.plustar.jp/python/library/shlex.html - [similar]
11.10. shutil --- 高水準のファイル操作 — Python 3.6.5 ドキュメント 7199
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ¶ shutil. get_terminal_size ( fallback=(columns , lines) ) ¶ ターミナルウィンドウのサイズを取得します。 幅 ... と高さについて、それぞれ COLUMNS と LINES という環境変数をチェックします。その変数が定義され ... の整数であればそれを利用します。 典型的な COLUMNS や LINES が定義されていない場合には、 sys.__stdout__ に接続 ...
https://man.plustar.jp/python/library/shutil.html - [similar]
PREV 1 2 3 4 5 6 NEXT