Import data from stdin to sqlite3 in python

Peng Yu <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <CABrM6w=EudXedWtocazQdtNgNnmJdOHrEjyLLeYsfPimtu3cUg@mail.gmail.com>
Hi,

I see this post uses Pandas to import data to sqlite3.

https://datatofish.com/create-database-python-using-sqlite3/

But I don't want to make my code depend on Pandas. I'd like to use
something like ".import /dev/stdin" to directly import data from stdin
in python. Is it possible? Thanks.

--
Regards,
Peng
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.