very high-level IO functions?
larry.bates at websafe.com
Mon Sep 19 22:13:57 CEST 2005
While it may "attempt" to recognize the types, it in fact cannot
be more correct than the programmer. Example:
That "looks" lile a hex and an int. But wait. What if it is
instead two strings?
In Python you can easily write a class with a interator that can
read the data from the file/table and return the PROPER data types
as lists, tuples, or dictionaries that are easy to manipulate.
> R language has very high-level IO functions, its read.table can read a
> total .csv file and recogonize the types of each column. write.table can
> do the reverse.
> R's MySQL interface has high-level functions, too, e.g. dbWriteTable can
> automatically build a MySQL table and write a table of R data into
> Is there any python packages do similar things?
More information about the Python-list