Skip to content

Instantly share code, notes, and snippets.

@athas
Last active September 20, 2020 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save athas/7f2ee2f3927930a5f4695b5a08f05061 to your computer and use it in GitHub Desktop.
Save athas/7f2ee2f3927930a5f4695b5a08f05061 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
import futhark_data
import sys
arr = next(futhark_data.loadb(sys.stdin.buffer.read()))
h, w = arr.shape
for i in range(h):
for j in range(w):
print(chr(arr[i,j]), end='')
print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment