From e4c49c05bfa5f8c63e431628d9f51b277674e737 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 31 Mar 2023 03:30:49 +0200 Subject: [PATCH] Update page 'Day 2 lecture' --- Day 2 lecture.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Day 2 lecture.md b/Day 2 lecture.md index 80f4781..1e83956 100644 --- a/Day 2 lecture.md +++ b/Day 2 lecture.md @@ -1,8 +1,18 @@ * Review of day 1, questions +bignums +np.finfo(format) for format in ['float16','float32'] +mojibake + * Lexer/parser demo -* `tokenize` module -* `ast` module +finite state automaton or FSA, or "state machine" +timers +* `tokenize` module: https://docs.python.org/3/library/tokenize.html +tokens can be used to debug complex data input issues, especially security or xplatform issues +* `ast` module: https://docs.python.org/3/library/ast.html +abstract syntax tree * Number formats, base 16 representation +* Hexdumping: https://gogs.gtsplab.com:5432/j/python-test/src/main/hexdump.py +ASCII tables * Imaginary numbers and why 'j' is a problem +also i * Formatted string literals -* Hexdumping