> Jack Jansen <Jack.Jansen@oratrix.com> writes: > > > It could be argued that open(..., 'r').read() returns a text string > > and open(..., 'rb').read() returns a binary blob. > > That can't work: to get a text string, you need to know the encoding. > > Regards, > Martin In my ideal rewrite of the I/O subsystem, an encoding is specified (or a site-or-app-specific default encoding used) when a file is opened. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4