Difference between revisions of "REPL CMD"

From ElectroDragon Wiki
 
(No difference)

Latest revision as of 16:33, 18 February 2022


REPL for MaixPy

category: Micropython

  • help()
  • os.listdir()
  • print("hello maixpy")
  • change dir -> os.chdir("/flash")
  • run .py -> import hello
  • edit file using pre-included pye editor -> pye("hello.py")


Check DIR

>>> os.listdir("/")
['flash', 'sd']