1try: 2 from uarray import array 3except ImportError: 4 try: 5 from array import array 6 except ImportError: 7 print("SKIP") 8 raise SystemExit 9 10# construct from something with unknown length (requires generators) 11print(array('i', (i for i in range(10)))) 12