I get 'attribute error' when trying to use the file system.

I can't get the Python filing system to work.

How do I use files with MicroPython?


If you are using the MicroPython editor on the BBC website, please note that the current version of MicroPython built inside that editor does not have the file system feature included.


A. Head on over to and get the latest Mu editor for your platform.

B. If you don't want to download anything to the computer you are using, then the version of Python found at also has the file system built into it here:

There is a Python tutorial about the filing system here:


06 NOV 2016