Просмотр исходного кода

Revised Unicode paragraph

- Revised paragraph based on discussion (though, I left out the "& bits" I originally wrote in the comments since it seemed unnecessary).
d-s-1 8 лет назад
Родитель
Сommit
3823cc9135
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      io.md

+ 1 - 1
io.md

@@ -89,7 +89,7 @@ So far, when we have been writing and using strings, or reading and writing to a
 <class 'str'>
 ```
 
-The rules for translating Unicode into bytes (which is what computers use to process info) is called encoding.  Encoding is important when you want to send and receive info from other computers, and a popular encoding to use is UTF-8.  We can read and write in UTF-8 by using a simple keyword argument in our `open function`.
+When data is sent over the Internet, we need to send it in bytes... something your computer easily understands.  The rules for translating Unicode (which is what Python uses when it stores a string) to bytes is called encoding.  A popular encoding to use is UTF-8.  We can read and write in UTF-8 by using a simple keyword argument in our `open function`.
 
 <pre><code class="lang-python">{% include "./programs/io_unicode.py" %}</code></pre>