pymakr repl dump output
-
hi, is it possibile to get a file dump of the repl 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 commandmanfor 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. -
@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 Then try to use a simple terminal emulator like picocom (linux) or putty(Windows). they allow logging the output.
-
@robert-hh that should do the work. thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login