开发者

How connect Spyder to mysql on Winx64 and Fedora?

开发者 https://www.devze.com 2023-03-17 22:06 出处:网络
Im trying to use Spyder with pyodbc to connect mysql using a PyQT4 gui framework. I have pyodbc in Spyder figure out.

Im trying to use Spyder with pyodbc to connect mysql using a PyQT4 gui framework. I have pyodbc in Spyder figure out.

How do I use PyQt4 to get info into开发者_如何学编程 gui's? I'm looking to use gui on Fedora and winx64.

Edit: I figured out the fedora driver. Can anyone help me with QMYSQL driver.


See this

http://doc.qt.nokia.com/latest/sql-driver.html#how-to-build-the-mysql-driver-for-mingw-users

Maybe that will help.


Have you considered using PyQt's built-in MySQL support? This could make it a bit easier to display DB info, depending on what you want the interface to look like.

0

精彩评论

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

关注公众号