Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 51 - 60 of about 92 for encoding (0.094 sec.)
13.3. bz2 --- bzip2 圧縮のサポート — Python 3.6.5 ドキュメント 6036
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... z2. open ( filename , mode='r' , compresslevel=9 , encoding=None , errors=None , newline=None ) ¶ bzip2 圧縮さ ... presslevel=compresslevel) と等価です。この時、引数 encoding 、 errors 、および newline を指定してはいけません。 ...
https://man.plustar.jp/python/library/bz2.html - [similar]
8.2. calendar --- 一般的なカレンダーに関する関数群 — Python 3.6.5 ドキュメント 6036
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... earpage ( theyear , width=3 , css='calendar.css' , encoding=None ) ¶ 一年分のカレンダーを一つの完全な HTML ペー ... 使わないようにするために None を渡すこともできます。 encoding には出力に使うエンコーディングを指定します (デフォ ...
https://man.plustar.jp/python/library/calendar.html - [similar]
14.1. csv --- CSV ファイルの読み書き — Python 3.6.5 ドキュメント 6036
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... コード文字列にデコードされます ( locale.getpreferredencoding() を参照)。他のエンコーディングを用いてデコードする ... には、open の引数 encoding を設定して、以下のようにします: import csv with op ... en ( 'some.csv' , newline = '' , encoding = 'utf-8' ) as f : reader = csv . reader ( f ) for ... で書き込む場合も同様です。出力ファイルを開く際に引数 encoding を明示してください。 新しい表現形式の登録: import ...
https://man.plustar.jp/python/library/csv.html - [similar]
11.3. fileinput --- 複数の入力ストリームをまたいだ行の繰り返し処理をサポートする... 6036
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... leinput.hook_compressed) fileinput. hook_encoded ( encoding , errors=None ) ¶ Returns a hook which opens each ... file with open() , using the given encoding and errors to read the file. Usage example: fi = f ...
https://man.plustar.jp/python/library/fileinput.html - [similar]
11.9. linecache --- テキストラインにランダムアクセスする — Python 3.6.5 ドキュ... 5956
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 開くために使用されます。この関数は、 tokenize.detect_encoding() を使用してファイルのエンコーディングを取得します ...
https://man.plustar.jp/python/library/linecache.html - [similar]
16.1. os --- 雑多なオペレーティングシステムインタフェース — Python 3.6.5 ドキュ... 5956
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ムのエンコーディングを使用します ( sys.getfilesystemencoding() 参照)。 バージョン 3.1 で変更: 一部のシステムでは ... になります。 Unix では、キーと値に sys.getfilesystemencoding() 、エラーハンドラーに 'surrogateescape' を使用しま ... me ) ¶ Encode path-like filename to the filesystem encoding with 'surrogateescape' error handler, or 'strict' ... Decode the path-like filename from the filesystem encoding with 'surrogateescape' error handler, or 'strict' ...
https://man.plustar.jp/python/library/os.html - [similar]
11.1. pathlib --- オブジェクト指向のファイルシステムパス — Python 3.6.5 ドキュ... 5956
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... されました。 Path. open ( mode='r' , buffering=-1 , encoding=None , errors=None , newline=None ) ¶ 組み込み関数 ... contents' バージョン 3.5 で追加. Path. read_text ( encoding=None , errors=None ) ¶ 指定されたファイルの内容を文 ... 。 バージョン 3.5 で追加. Path. write_text ( data , encoding=None , errors=None ) ¶ 指定されたファイルをテキスト ...
https://man.plustar.jp/python/library/pathlib.html - [similar]
What's New In Python 3.4 — Python 3.6.5 ドキュメント 5956
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... 1 , in <module> LookupError : 'hex' is not a text encoding; use codecs.decode() to handle arbitrary codecs >> ... , in <module> LookupError : 'rot13' is not a text encoding; use codecs.encode() to handle arbitrary codecs >> ... > open ( "foo.txt" , encoding = "hex" ) Traceback (most recent call last): File ... 1 , in <module> LookupError : 'hex' is not a text encoding; use codecs.open() to handle arbitrary codecs 関連 ...
https://man.plustar.jp/python/whatsnew/3.4.html - [similar]
Python で Curses プログラミング — Python 3.6.5 ドキュメント 5890
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... e encoded to bytes using the value of the window's encoding attribute; this defaults to the default system enc ... oding as returned by locale.getpreferredencoding() . The addch() methods take a character, which ca ...
https://man.plustar.jp/python/howto/curses.html - [similar]
14.2. configparser --- 設定ファイルのパーサー — Python 3.6.5 ドキュメント 5890
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... の場合、 DEFAULT が仮定されます。 read ( filenames , encoding=None ) ¶ ファイル名のリストを読み込んでパースしよう ... cfg' , os . path . expanduser ( '~/.myapp.cfg' )], encoding = 'cp1250' ) バージョン 3.2 で追加: encoding 引数。 ...
https://man.plustar.jp/python/library/configparser.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT