Apr-10-2018, 09:18 AM
I am looking for a way to read texxt file then convert into database(sqlite3).
any recommended materials?
any recommended materials?
convert text to sqlite3
|
Apr-10-2018, 09:18 AM
I am looking for a way to read texxt file then convert into database(sqlite3).
any recommended materials?
Apr-10-2018, 12:57 PM
csv module and sqlite3 module from standard library
of course knowledge to work with files is presumed.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link Create MCV example Debug small programs
Apr-11-2018, 03:17 AM
(Apr-10-2018, 12:57 PM)buran Wrote: csv module and sqlite3 module from standard library U mean txt can be process like csv?
Apr-11-2018, 03:56 AM
Quote:U mean txt can be process like csv?cvs can be processed as text, because it is text. Text would have to be comma delimitered in order to be processed as cvs.
Apr-11-2018, 05:18 AM
(Apr-11-2018, 03:56 AM)Larz60+ Wrote: Text would have to be comma delimiteredHave to be delimited, you can specify the delimiter
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link Create MCV example Debug small programs
Apr-11-2018, 05:38 AM
Yes, of course.
|
|