(Jan-24-2022, 10:56 AM)korenron Wrote: this is an old PI3 , maybe I can't make it work ?Which version did you install?
The newest is python 3.10 or python 3.9.5 as used in tutorial?
What folder do
cd
into after extracted files?To run directly
1 2 3 |
python3. 10 myscript.py # Or python3. 9 myscript.py |
(Jan-24-2022, 10:56 AM)korenron Wrote: but how can I do it for this part:
1 2 3 |
data_byte = b '123' data_temp = [ "{:02X}" . format (byte) for byte in data_byte] print (data_temp) |
Output:['31', '32', '33']