开发者

how to import mysqldb

I have installed MySqldb thro开发者_StackOverflowugh .exe(precompiled). Its is stored in site-packages. But now i don't know how to test, that it is accessable or not. And major problem how to import in my application like import MySqldb. Help me i am very new techie in python i just want to work with my existing Mysql. Thanks in advance...


Just open your CMD/Console, type python, press Enter, type import MySQLdb and then press Enter again.

If no error is shown, you're ok!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜