One unique feature of MicroPython on the ESP8266 and its WiFi microcontroller is a WebREPL (read-evaluate-print loop, like a Python ‘command line’) accessible through a webpage. Instead of using a serial connection to the board you can run Python code directly from your browser in a simple terminal. You don’t even need to connect the board to a WiFi network, it can create its own that you use to access the WebREPL!
This guide will walk through how to enable and access the WebREPL on MicroPython ESP8266. Note only the ESP8266 version of MicroPython supports the WebREPL, and be aware the WebREPL is an experimental feature that is under active development. Follow this guide to learn how to explore the WebREPL on MicroPython ESP8266 yourself!