开发者

how to import mysqldb

开发者 https://www.devze.com 2023-02-13 10:14 出处:网络
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

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

精彩评论

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