上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 32 下一页
摘要: cc 阅读全文
posted @ 2020-04-10 21:22 linux——quan 阅读(120) 评论(0) 推荐(0) 编辑
摘要: mysql> CREATE TABLE joson( id INT AUTO_INCREMENT PRIMARY KEY, context JSON NOT NULL)// Query OK, 0 rows affected (0.05 sec) mysql> DESC joson; + + + + 阅读全文
posted @ 2020-04-10 21:21 linux——quan 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-04-10 21:20 linux——quan 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 协程是我们自己调度的 进程是系统调度的协程切换很少开销 python3.5之前的实现方法 def yield_test(): """实现协程函数""" while True: n = (yield) print(n) if __name__ == "__main__": rest = yield_t 阅读全文
posted @ 2020-04-10 21:19 linux——quan 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 问题: ImportError: No module named dns.resolver 解决: 通过包管理工具pip安装dnspython pip install dnspython 阅读全文
posted @ 2020-04-10 21:18 linux——quan 阅读(150) 评论(0) 推荐(0) 编辑
摘要: connect 模块下载 https://dev.mysql.com/downloads/connector/python/ import mysql.connector con = mysql.connector.connect( host = "192.168.111.153", port = 阅读全文
posted @ 2020-04-10 21:09 linux——quan 阅读(219) 评论(0) 推荐(0) 编辑
摘要: python中检测某个变量是否有定义 第一种方法使用内置函数locals(): locals():获取已定义对象字典 'testvar' in locals().keys() 第二种方法使用内置函数dir(): dir():获取已定义对象列表 'testvar' in dir() 第三种方法使用内置 阅读全文
posted @ 2020-04-10 21:08 linux——quan 阅读(1863) 评论(0) 推荐(0) 编辑
摘要: 给查询对象起个别名。 把查询对像起个别名的作用。 select ID as 用户ID,Name as 用户名 from Table_user 阅读全文
posted @ 2020-04-10 21:06 linux——quan 阅读(1521) 评论(0) 推荐(0) 编辑
摘要: #div1{ background-color: yellow; width: 150px; height:150px; position: absolute; top:150px; left: 150px; overflow: scroll; } 结果: #div1{ background-col 阅读全文
posted @ 2020-04-10 16:26 linux——quan 阅读(648) 评论(0) 推荐(0) 编辑
摘要: MySQL UNION 操作符用于连接两个以上的 SELECT 语句的结果组合到一个结果集合中。多个 SELECT 语句会删除重复的数据。 语法 MySQL UNION 操作符语法格式: SELECT expression1, expression2, ... expression_n FROM t 阅读全文
posted @ 2020-04-10 14:09 linux——quan 阅读(93) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 32 下一页