Import data from stdin to sqlite3 in python

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Import data from stdin to sqlite3 in python

Peng Yu
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
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users