Skip to content

Saving files to device on Thonny #16203

Discussion options

You must be logged in to vote

You cannot write directly from the board into the PC's file system. It always needs some kind of agent to receive data sent by the board. A very simple method to do so is using mpremote mount PC-path, which map the PC directory PC-path as path /remote at the board. Data written to a file at /remote on the board is written to a file with the same name at the PC's PC-path.
Other options would be to just print the data at the board and have a logger at the PC, which captures the data and write it to a file.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jonnor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants