mysql - Python database access using single file/already build file -


I have to save some data from Python to MySQL.

I have tried, but it needs to be built. The build on my mac fails; Besides, I need to have a file to copy over the server. I do not have access to install anything.

Would you recommend me a solution, please! Even where I can get MySQLdb for a specific platform.

Thanks in advance!

In MySQL, one (From the same code's database to Postgres or sqlite3 to < Code> psql ) I would be surprised if it was not already installed on the same server.

Then you can create the input by using Python for that feature and call it with the subprocess . Depending on the data, this can be as simple as generating a INSERT command from scratch, or you can generate a temporary input file (eg in CSV format) and use it by name Can pass.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -