以下の内容はhttps://shuzo-kino.hateblo.jp/entry/2017/12/13/212813より取得しました。


csvs-to-sqliteでcsv/tsv形式のデータをsqliteにブチ込む

実際のところ

$ pip install csvs-to-sqlite

公式を参考に、こんな感じのcsvを用意

$ cat sample.csv
county,precinct,office,district,party,candidate,votes
Clark,1,President,,REP,John R. Kasich,5
Clark,2,President,,REP,John R. Kasich,0
Clark,3,President,,REP,John R. Kasich,7

これをコマンドの第一引数、ターゲットを第二引数としてやれば、ファイル名のテーブルができます。

$ csvs-to-sqlite sample.csv base.db

GitHub - simonw/csvs-to-sqlite: Convert CSV files into a SQLite database




以上の内容はhttps://shuzo-kino.hateblo.jp/entry/2017/12/13/212813より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14