Skip to content

Sample File Access

TakeoTakahashi2020 edited this page Sep 21, 2021 · 2 revisions

image

  • Shows the contents of main.py in the default / flash folder.
f = open('main.py','r')
f.read()
f.close()

image

  • Reading and writing to the / flash and / sd filesystems is typically done by calling the MicroPython file I/O library.

Home

ホーム

Clone this wiki locally