Searching for the code module #13550
Replies: 2 comments 3 replies
-
The micropython repl isn't broken into functions that match the cpython code module, nor are the internals exposed to python in a similar way. As with many similar questions about micropython vs cpython functionality, the reason for this is presumably both to reduce code size and because no one has ever needed it exposed to python enough to implement it. You may be interested in aiorepl in micropython-lib though? It's essentially a repl written in pure python. |
Beta Was this translation helpful? Give feedback.
-
If you like IPython/Jupyter, then perhaps micropython-magic may be of use to you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi to all,
for many years my favorite Python debugging tool has been the embed() function from the IPython package. Only recently (my fault!) I discovered the existence of the code module.
I've always been looking for a similar module for Micropython but I could not find it. Is there anyone who can point me to someone working on it or explain why this is not yet available in the standard library?
Beta Was this translation helpful? Give feedback.
All reactions