Mercurial > hg > tvii
comparison tvii/read.py @ 86:b56d329c238d
workaround namespace foolishess
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 17 Dec 2017 14:04:45 -0800 |
parents | 16b3a11db8d2 |
children |
comparison
equal
deleted
inserted
replaced
85:d705f6384e8b | 86:b56d329c238d |
---|---|
3 """ | 3 """ |
4 | 4 |
5 # TODO: use `numerics`'s functionality | 5 # TODO: use `numerics`'s functionality |
6 | 6 |
7 import csv | 7 import csv |
8 from .types import string | 8 from ._types import string |
9 | 9 |
10 | 10 |
11 def read(fp, type=float, separator=None): | 11 def read(fp, type=float, separator=None): |
12 """ | 12 """ |
13 read CSV or space-separated value file `fp` | 13 read CSV or space-separated value file `fp` |