|
|
|
|
|
by joshuamorton
2809 days ago
|
|
Pretty much everything you've described is possible in Python. The open function can return bytes or utf8, depending on what you ask for, and converting between the two is simply a call to .decode or .encode. Combing text with bytes is a type error. There, you're ready for text in python3. |
|