会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
白天黑夜每日c
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2016年4月12日
MySQL数据类型
摘要: 记录文本:mediumtext型,create table article_abstract( article int, abstract mediumtext)
阅读全文
posted @ 2016-04-12 19:30 白天黑夜每日c
阅读(177)
评论(0)
推荐(0)
2016年4月8日
Python-crawler-citeulike
摘要: 之前装过beautifulsoup,这次要装lxml,用easy_install装:到python/scripts目录下,运行easy_install lxml,自动安装 分界线 之前直接用urlopen(url),拒绝访问,403forbidden 模仿真实上网,添加cookie (转自http:
阅读全文
posted @ 2016-04-08 19:49 白天黑夜每日c
阅读(310)
评论(0)
推荐(0)
2016年4月5日
Python-MySQL
摘要: import mysql.connector 在命令行里运行python脚本,显示没有mysql.connector cnx = mysql.connector(user =' ', password=' ',host =' ', database =' ') cnx.close() cursor
阅读全文
posted @ 2016-04-05 15:27 白天黑夜每日c
阅读(166)
评论(0)
推荐(0)
2016年4月3日
MySQL-导入数据
摘要: 以下:citeulike是数据库名,user_article是table名 create database citeulike; create table user_article(user varchar(32), article varchar(12), tag varchar(40)); lo
阅读全文
posted @ 2016-04-03 21:52 白天黑夜每日c
阅读(249)
评论(0)
推荐(0)
MySQL-安装 启动 运行
摘要: 下载mysql,启动总是有问题,杯具发现还没有好 1. 更改"my.ini",服务器部分和客户端部分 参考 http://www.cnblogs.com/feichexia/archive/2012/11/27/mysqlconf.html [mysql] 补充port=3306, basedir,
阅读全文
posted @ 2016-04-03 16:02 白天黑夜每日c
阅读(115)
评论(0)
推荐(0)
2016年3月29日
python-数据整理
摘要: 1. python读取文件时的路径,明明是放在一个文件夹里,怎么不完整路径会错 2. file.write(str1+str2)用+拼接,不能用, 3. open()用法: 4. 在用r+模式读写文件时,写之前要file.seek(文件位置),不然无法写。
阅读全文
posted @ 2016-03-29 21:48 白天黑夜每日c
阅读(329)
评论(0)
推荐(0)
[leetcode] 326. Power of Three
摘要: Given an integer, write a function to determine if it is a power of three.
阅读全文
posted @ 2016-03-29 18:01 白天黑夜每日c
阅读(142)
评论(0)
推荐(0)
[leetcode] 231. Power of Two
摘要: Given an integer, write a function to determine if it is a power of two. 负数和0都不是power of 2.
阅读全文
posted @ 2016-03-29 17:55 白天黑夜每日c
阅读(110)
评论(0)
推荐(0)
2016年3月26日
python.re模块
摘要: .re:(网上摘)
阅读全文
posted @ 2016-03-26 20:30 白天黑夜每日c
阅读(148)
评论(0)
推荐(0)
2016年3月24日
python常用包和模块-更新
摘要: random.sample(sequence, k),从指定序列中随机获取指定长度的片断。sample函数不会修改原有序列 numpy.nonzero() Return the indices of the elements that are non-zero.
阅读全文
posted @ 2016-03-24 19:37 白天黑夜每日c
阅读(265)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告