other:python:misc_by_jyp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
other:python:misc_by_jyp [2023/04/27 17:52] – [Data representation] Improved jypeter | other:python:misc_by_jyp [2023/04/28 15:55] – [Data representation] Improved, started a Strings section jypeter | ||
---|---|---|---|
Line 35: | Line 35: | ||
A few notes for a future section or page about about //data representation// | A few notes for a future section or page about about //data representation// | ||
+ | |||
+ | |||
+ | ==== Numerical values ==== | ||
* Binary data representation of some numbers: | * Binary data representation of some numbers: | ||
Line 128: | Line 131: | ||
* Misc : '' | * Misc : '' | ||
+ | |||
+ | ==== Strings ==== | ||
+ | |||
+ | * Encoding, [[https:// | ||
+ | |||
+ | * Getting the binary representation of a string | ||
+ | * < | ||
+ | >>> | ||
+ | <class ' | ||
+ | >>> | ||
+ | 11 | ||
+ | >>> | ||
+ | >>> | ||
+ | b'A B 0 1 \xc3\xa0 \xc2\xb5' | ||
+ | >>> | ||
+ | <class ' | ||
+ | >>> | ||
+ | 13 | ||
+ | >>> | ||
+ | ' | ||
+ | </ | ||
+ | |||
===== Checking if a file/ | ===== Checking if a file/ | ||
other/python/misc_by_jyp.txt · Last modified: 2024/11/04 15:01 by jypeter