Hi,
some time ago, I wrote a small Python script, which should escape the special-chars (like ',",\n). I wanted to copy my MicroPython sources and paste it into the REPL to save it on my MicroPython-device.
Over time, it got some more features.
My script isn't as powerful as the rshell, but perhaps its usefull for someone else too.
:: Some features
- transfer files to device (-d)
- it tries to recude the length of code (-r)
- also it tries to find and copy all imports (-i)
- copy files from micropython-device (-g)
:: Usage
./escaper.py --help
:: Source
https://gitlab.com/butzel/escaper.py
:: Download
https://gitlab.com/butzel/escaper.py/bl ... .5_1FE.tgz
Greetings
butzel