希望老师能做一遍windows版本下的DJANGO教程,现在已有的django教程讲的云里雾里的,看完还是一脸懵逼
2016-10-27
我喜欢这位老师的风格!一般而言,一个人说话越坚定越洪亮,那么他一定是明晰了所述事物的内在逻辑。老师的MySQL与Python经验都很丰富,点赞!
2016-10-19
Traceback (most recent call last):
File "F:\Java_code\workspace\imooc\com\90xss\PythonForMysqlConnection.py", line 12, in <module>
charset='utf8'
File "F:\Java_code\workspace\imooc\com\90xss\PythonForMysqlConnection.py", line 12, in <module>
charset='utf8'
2016-10-09
import MySQLdb
conn=MySQLdb.Connect(
host='127.0.0.1',
port=3306,
user='root',
password='root',
db='imooc',
charset='utf8'
)
cursor =conn.cursor()
print (conn)
print (cursor)
cursor.close()
conn.close()
conn=MySQLdb.Connect(
host='127.0.0.1',
port=3306,
user='root',
password='root',
db='imooc',
charset='utf8'
)
cursor =conn.cursor()
print (conn)
print (cursor)
cursor.close()
conn.close()
2016-10-09
老师讲得非常详细 ,我认为这里老师着重讲解的是python的安装,至于Mysql的安装大家可以参考IT男的课程,非常详细:http://www.imooc.com/learn/122
2016-10-04
最新回答 / 慕粉3825649
import MySQLdbconn = MySQLdb.connect( host = "localhost", port = 3306, user = "root", passwd = "1314+peng", db = "pymy", charset = "utf8" )cursor = conn.cursor()print connprint cursor
2016-09-28