you wouldn't believe me if I told you

This commit is contained in:
Mark Pilgrim
2009-06-05 23:39:50 -04:00
parent cbdb346531
commit 654b102d74
64 changed files with 724 additions and 764 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ body{counter-reset:h1 12}
OK, so a string is a sequence of Unicode characters. But a file on disk is not a sequence of Unicode characters; a file on disk is a sequence of bytes. So if you read a “text file” from disk, how does Python convert that sequence of bytes into a sequence of characters? The answer is that it decodes the bytes according to a specific character encoding algorithm, and returns a sequence of Unicode characters, otherwise known as a string.
-->
<p class=nav><a rel=prev href=advanced-classes.html title="back to &#8220;Advanced Classes&#8221;"><span>&#x261C;</span></a> <a rel=next href=xml.html title="onward to &#8220;XML&#8221;"><span>&#x261E;</span></a>
<p class=v><a href=advanced-classes.html rel=prev title='back to &#8220;Advanced Classes&#8221;'><span>&#x261C;</span></a> <a href=xml.html rel=next title='onward to &#8220;XML&#8221;'><span>&#x261E;</span></a>
<p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a>
<script src=j/jquery.js></script>