码迷,mamicode.com
首页 >  
搜索关键字:python email from to    ( 191911个结果
Numpy 学习之路(1)——数组的创建
数组是Numpy操作的主要对象,也是python数据分析的主要对象,本系列文章是本人在学习Numpy中的笔记。文章中以下都基于以下方式的numpy导入:import numpy as npfrom numpy import *1、普通数组的创建——np.arange(), np.array(),(1...
分类:编程语言   时间:2015-10-04 20:51:06    阅读次数:267
python有些错误换行问题解决
有时候数据会遇到一些错误包。例如,正确的数据应:20141010,aaa,bbb,ccc,ddd,eee但实际的数据是来:20141010,aaa,bbb,ccc,ddd,eee这样出现错误换行。在进行一些数据处理时就不能通过解决的方法:import redfile=open('tt.txt','r...
分类:编程语言   时间:2015-10-04 20:50:02    阅读次数:279
python mysql模块
多次使用python操作mysql数据库,先与大家分享一下,关于如何使用python操作mysql数据库。mysql并不是python自带的模块,因此需要下载安装。(在windows平台下介绍该使用过程)1、下载/安装python-mysql下载地址:https://pypi.python.or.....
分类:数据库   时间:2015-10-04 19:42:12    阅读次数:321
64. Minimum Path Sum (Graph; DP)
Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo...
分类:其他好文   时间:2015-10-04 19:35:26    阅读次数:177
sql语句之union与join的区别
union查询:使用 union 可以将多个select语句的查询结果组合起来。语法:select 字段1,字段2 from table1 union select 字段1,字段2 from table2;例:注意:1、union 关键字两边的select语句的字段数量是需要一致的,并不要求字段名称...
分类:数据库   时间:2015-10-04 18:28:27    阅读次数:222
【python】python2.x 与 python3.x区别对照+缩进错误解决方法
仅仅列出我用到的,不全。划重点: 1. urllib2 用 urllib.request 代替 2. urllib.urlencode 用 urllib.parse.urlencode 代替 3. cookielib 用 http.cookiejar 代替 4. print " " 用 pr...
分类:编程语言   时间:2015-10-04 18:24:01    阅读次数:415
今天我也用上了阿里云的Centos
Redis官方不支持Windows,第三方实现的64位服务端不稳定,因此在我的忽悠之下,公司出钱买了个阿里云的Centos7,4G内存,30G硬盘。现在我也可以真真正正的玩Centos了,python、nodejs、npm,想想都有些小激动!CPU:Intel(R) Xeon(R) CPU E5-2...
分类:其他好文   时间:2015-10-04 18:21:50    阅读次数:178
LeetCode -- Construct Binary Tree from Inorder and Postorder Traversal
LeetCode -- Construct Binary Tree from Inorder and Postorder Traversal...
分类:其他好文   时间:2015-10-04 17:16:45    阅读次数:128
79. Word Search (Graph; DFS)
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:其他好文   时间:2015-10-04 17:14:57    阅读次数:294
mac在变化mysql-rootpassword-各种解决问题的能力
官方数据:http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix另值获取引用mysql设备。与python-mysql装博客http://hearrain.com/201...
分类:数据库   时间:2015-10-04 17:05:00    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!