1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# test MicroPython-specific features of array.array try: import array except ImportError: print("SKIP") raise SystemExit # arrays of objects a = array.array('O') a.append(1) print(a[0]) # arrays of pointers a = array.array('P') a.append(1) print(a[0])