December 27th, 2012, 07:36 PM
Add terminal output to table..
I wrote a bit of code in python that gives me an output list. I want to put this list(which can be up to thousands of different words or values) in the first two colums of my MySQL database table. So I guess what I'm asking is how do I use both python and SQL in the terminal command line? And how do I open SQL from terminal? I've only ever used phpmyadmin and MySQL workbench--but neither of those allow python code.
December 27th, 2012, 09:37 PM
maybe it works for mysql too.
python wrapper for mysqlhttp://zetcode.com/databases/mysqlpythontutorial/
The zetcode tutorials I've used have been useful.
[/code] are essential for python code and Makefiles!