internal editor in Micropython

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
c.man
Posts: 21
Joined: Thu Jul 06, 2017 9:12 pm

internal editor in Micropython

Post by c.man » Fri Jul 07, 2017 5:41 pm

Hi,
a question: exist an internal editor for micropython ?
How I can to modify boot.py and main.py ?

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: internal editor in Micropython

Post by deshipu » Fri Jul 07, 2017 6:50 pm

You can download them to your computer with webrepl, ampy or other tool, edit them on your computer, and then upload back.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: internal editor in Micropython

Post by pythoncoder » Sat Jul 08, 2017 7:08 am

Dave Hylands' rshell supports editing files directly https://github.com/dhylands/rshell.
Peter Hinch
Index to my micropython libraries.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: internal editor in Micropython

Post by dhylands » Sat Jul 08, 2017 7:23 am

Well sort of. rshell copies the file from the pyboard to a local location, invokes an editor of your choice on the local file, and then copies the modified file bsck to the pyboard when you exit the editor.

User avatar
c.man
Posts: 21
Joined: Thu Jul 06, 2017 9:12 pm

Re: internal editor in Micropython

Post by c.man » Sat Jul 08, 2017 2:27 pm

Do you know Micropython-Editor ?
see link: https://github.com/robert-hh/Micropython-Editor

Post Reply