circuitpython/tests/basics/bytes_construct_intbig.py

5 lines
114 B
Python

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