other:python:misc_by_jyp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext 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 16:11] – [Numerical values] Added low level array addressing 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 113: | Line 116: | ||
' | ' | ||
</ | </ | ||
+ | |||
+ | * Manipulating binary data with [[https:// | ||
* Array addressing | * Array addressing | ||
+ | * [[https:// | ||
+ | * In other words: //using indices to go from 1-D to n-Dimnensions data// | ||
+ | * The [[https:// | ||
* python/C vs Fortran... | * python/C vs Fortran... | ||
Line 128: | Line 136: | ||
* 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