Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Generalised String Coercion

Guido van Rossumgvanrossum at gmail.com
Mon Aug 8 02:03:02 CEST 2005


[me]> > a way to decide on a default encoding for stdin,> > stdout, stderr.[Martin]> If stdin, stdout and stderr go to a terminal, there already is a> default encoding (actually, there always is a default encoding on> these, as it falls back to the system encoding if its not a terminal,> or if the terminal's encoding is not supported or cannot be determined).So there is. Wow! I never kew this. How does it work? Can we use thisfor writing to files to?-- --Guido van Rossum (home page:http://www.python.org/~guido/)


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp