micropython/tests/basics/bytes_construct_intbig.py

5 wiersze
114 B
Python

# test construction of bytes from different objects
# long ints
print(ord(bytes([14953042807679334000 & 0xff])))