import fsimport fs.copydef mer_to_disk():mem_fs = fs.open_fs('mem://')mem_fs.makedirs('fruit')mem_fs.makedirs('vegetables')with mem_fs.open('fruit/apple.txt', 'w') as apple:apple.write('braeburn')with fs.open_fs(".") as os_fs: fs.copy.copy_fs(mem_fs, os_fs)mem_fs.close()if __name__ == '__main__':mer_to_disk()