Teil 9: Typkonvertierung.
This commit is contained in:
4
teil9/bytes.py
Normal file
4
teil9/bytes.py
Normal file
@@ -0,0 +1,4 @@
|
||||
some_chars = [65,66,67,68]
|
||||
|
||||
print(bytes('Homer', encoding='utf-8'))
|
||||
print(bytes(some_chars))
|
Reference in New Issue
Block a user