pymakr repl dump output
hi, is it possibile to get a file dump of the repl consolle?
@robert-hh that should do the work. thanks!
@ozeta Then try to use a simple terminal emulator like picocom (linux) or putty(Windows). they allow logging the output.
@robert-hh nope, i'm trying to "redirect" the output of the repl consolle to a file. because for debugging purposes it's difficult to copy-paste directly from the pymakr consolle
@ozeta If you ask for just displaying the content of a file on the console:
There is a set of small unix like tools in https://github.com/micropython/micropython-lib/tree/master/upysh, the script upysh.py
Once you have started in on the console with
from upysh import *
you have commands like ls, cat("filename"), head("filename"), etc..
just try the command
manfor a list of commands. .
I import these in my main.py, such that they are always there. If you build you image yourself, you can put it in frozen bytecode.