MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-498130.py

File recipe-498130.py

recipes/Python/498130_Create_SQL_tables_from_CSV_files/recipe-498130.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# csv2tbl.py - M.Keranen (mksql@yahoo.com) [10/14/2004]
2# ------------------------------------------------------------------------
3# Read a CSV file (exported from Excel), and generate an SQL statement
4# to create a matching table structure (by field names and widths only).

Callers

nothing calls this directly

Calls 13

rangeFunction · 0.85
strFunction · 0.85
readerMethod · 0.80
openFunction · 0.50
exitMethod · 0.45
splitMethod · 0.45
nextMethod · 0.45
stripMethod · 0.45
translateMethod · 0.45
titleMethod · 0.45
lowerMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected