08 2016 档案

摘要:http://www.path8.net/tn/archives/951 MySQL支持大量的列类型,它可以被分为3类:数字类型、日期和时间类型以及字符串(字符)类型。本节首先给出可用类型的一个概述,并且总结每个列类型的存储需求,然后提供每个类中的类型性质的更详细的描述。概述有意简化,更详细的说明应 阅读全文
posted @ 2016-08-30 05:17 功夫 熊猫 阅读(430) 评论(0) 推荐(0) 编辑
摘要:一、 表设计 二、 索引 三、 SQL语句 四、 散表 五、 其他 FAQ 1-1.库名、表名、字段名必须使用小写字母,“_”分割。 a)MySQL有配置参数lower_case_table_names,不可动态更改,linux系统默认为0,即库表名以实际情况存储,大小写敏感。如果是1,以小写存储, 阅读全文
posted @ 2016-08-29 15:58 功夫 熊猫 阅读(547) 评论(0) 推荐(0) 编辑
摘要:当你在函数定义内声明变量的时候,它们与函数外具有相同名称的其他变量没有任何关系,即变量名称对于函数来说是 局部 的。这称为变量的 作用域 。所有变量的作用域是它们被定义的块,从它们的名称被定义的那点开始。 使用局部变量 例7.3 使用局部变量 #!/usr/bin/Python# Filename: 阅读全文
posted @ 2016-08-24 06:40 功夫 熊猫 阅读(1196) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/24069197/httpresponse-object-json-object-must-be-str-not-bytes HTTPResponse object — JSON object must be str, not ' 阅读全文
posted @ 2016-08-17 14:49 功夫 熊猫 阅读(2312) 评论(0) 推荐(0) 编辑
摘要:http://btmiller.com/2015/04/13/get-list-of-keys-from-dictionary-in-python-2-and-3.html Get a List of Keys From a Dictionary in Both Python 2 and Pytho 阅读全文
posted @ 2016-08-17 14:45 功夫 熊猫 阅读(852) 评论(0) 推荐(0) 编辑
摘要:http://askubuntu.com/questions/656610/trying-to-install-mysql-connector-for-python-3?rq=1 trying to install mysql-connector for python 3 trying to ins 阅读全文
posted @ 2016-08-17 14:24 功夫 熊猫 阅读(251) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/4960048/python-3-and-mysql http://stackoverflow.com/questions/4960048/python-3-and-mysql up vote61down votefavorite 阅读全文
posted @ 2016-08-17 13:45 功夫 熊猫 阅读(280) 评论(0) 推荐(0) 编辑
摘要:PyMySQL Evaluation This page will capture issues related to Openstack moving to the PyMySQL driver for MySQL/MariaDB dbapi access. Rationale While the 阅读全文
posted @ 2016-08-16 08:13 功夫 熊猫 阅读(892) 评论(0) 推荐(0) 编辑
摘要:http://smilejay.com/2013/03/python3-mysql-connector/ Python 2.x 上连接MySQL的库倒是不少的,其中比较著名就是MySQLdb(Django项目都使用它;我也在开发测试系统时也使用过),见:http://sourceforge.net/ 阅读全文
posted @ 2016-08-16 02:53 功夫 熊猫 阅读(9252) 评论(0) 推荐(1) 编辑
摘要:本文介绍了python3 4连接mysql数据库的方法,在python3 4中使用原来python2 7的mysqldb已不能连接mysql数据库了,可以使用pymysql。 在python3.4中使用原来python2.7的mysqldb已不能连接mysql数据库了,可以使用pymysql,来完成 阅读全文
posted @ 2016-08-16 02:51 功夫 熊猫 阅读(1941) 评论(0) 推荐(1) 编辑
摘要:Can't install mysql-python version 1.2.5 in Windows http://stackoverflow.com/questions/37092125/cant-install-mysql-python-version-1-2-5-in-windows No 阅读全文
posted @ 2016-08-16 02:21 功夫 熊猫 阅读(972) 评论(0) 推荐(0) 编辑
摘要:Phttp://shttp://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-databasetackoverflow.com/questions/23376103/python-3-4-0-with-mysql-datab 阅读全文
posted @ 2016-08-16 02:12 功夫 熊猫 阅读(240) 评论(0) 推荐(0) 编辑
摘要:http://askubuntu.com/questions/630728/how-to-access-mysql-with-python-version-3-4 How to Access MySQL with Python Version 3.4 How to Access MySQL with 阅读全文
posted @ 2016-08-15 13:52 功夫 熊猫 阅读(282) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/12426320/how-do-i-set-the-default-schema-for-a-user-in-mysql http://stackoverflow.com/questions/12426320/how-do-i-s 阅读全文
posted @ 2016-08-05 14:22 功夫 熊猫 阅读(1717) 评论(0) 推荐(0) 编辑
摘要:I have a simple test module: print("fish")print("sticks")It runs pretty fast as expected, wether i use Run as or Debugg as does not matter. But as soo 阅读全文
posted @ 2016-08-05 01:39 功夫 熊猫 阅读(1009) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/bjbs_270/article/details/14005271 1. CURL 发送磁盘上面的JSON文件 [html] view plain copy 如 curl -X POST -H 'content-type: application/json' 阅读全文
posted @ 2016-08-04 03:27 功夫 熊猫 阅读(4747) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示