summaryrefslogtreecommitdiff
path: root/docs/esp32/tutorial
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-12-21 11:43:35 +1100
committerDamien George <damien@micropython.org>2023-01-13 16:38:34 +1100
commit6013d27dd59dd111041f72106a5a5eddfb02a792 (patch)
treea83fbde0378eaeaee8ebe3f407ab409c9d713a38 /docs/esp32/tutorial
parent77002a92bfcef58e01f20428df25793d43231b15 (diff)
tools/pyboard.py: Add parse kwarg to eval.
This is useful when using pyboard.py as a library rather than at the command line. pyb.eval("1+1") --> b"2" pyb.eval("{'a': '\x00'}") --> b"{'a': '\\x00'}" Now you can also do pyb.eval("1+1", parse=True) --> 2 pyb.eval("{'a': '\x00'}", parse=True) --> {'a': '\x00'} This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions