This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
## Author: Yuri Zhylyuk <yuri@zhylyuk.com> ## | |
# Amend parameters below for your needs: | |
## *import_file* - file where data gets imported from. | |
## Script is supposed to be ran in the same directory where import_file is located. | |
## *db_file* - name of the SQLite DB file to be created (for the first import) or overwritten. | |
## *dic* - dictionary of field names and their lengths. |