开发者

python Mysql data store

开发者 https://www.devze.com 2023-02-25 17:33 出处:网络
How to store data in MySQL a开发者_StackOverflowfter receiving it from Python?I don\'t think that you have provided much information, but here is my shot at an answer. You can use a database library (

How to store data in MySQL a开发者_StackOverflowfter receiving it from Python?


I don't think that you have provided much information, but here is my shot at an answer. You can use a database library (you can find a list here) to write data to mysql right from you python application.


Step 1: Select and install the library you want to use to interface with MySQL from the list here. Personally I use MySQLdb.

Step 2: Use the documentation, online tutorials etc. to attempt to save and retrieve the data. As this is a common task, a Google search shows plenty of examples.

If you have any specific problems doing this, start a new question with a full description of the problem along with any code and error messages.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号