已读87%
预计阅读本页时间:-
预计阅读本页时间:-
Test Your Knowledge: Quiz
- What are the names and roles of string object types in Python 3.0?
- What are the names and roles of string object types in Python 2.6?
- What is the mapping between 2.6 and 3.0 string types?
- How do Python 3.0’s string types differ in terms of operations?
- How can you code non-ASCII Unicode characters in a string in 3.0?
- What are the main differences between text- and binary-mode files in Python 3.0?
- How would you read a Unicode text file that contains text in a different encoding than the default for your platform?
- How can you create a Unicode text file in a specific encoding format?
- Why is ASCII text considered to be a kind of Unicode text?
- How large an impact does Python 3.0’s string types change have on your code?