pastebin

Paste Search Dynamic
Recent pastes
StringIO
  1. s = stringio("0xDE 0xADn0xC0 0xDE")
  2. import functools
  3. conv = functools.partial(int, base=16)
  4. np.loadtxt(s, converters=conv)
  5. array([[333., 171.],
  6.        [194., 333.]])
Parsed in 0.004 seconds