码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
pyhon/excel python导出到excel时的中文乱码问题
昨儿利用python+win32com将网页的表单导出到本地excel,遇到了输出乱码问题,解决方法:将x改为x.decode('utf-8')setCall('sheet1',row,col,x.decode('utf-8'))我的部分源码:self.xlBook = self.xlApp.Wor...
分类:编程语言   时间:2014-08-16 11:03:30    阅读次数:249
搭建Struts2的运行环境
搭建Struts2的运行环境1.新建一个web项目;2.将下载的struts-2.3.16.3-all.zip解压,打开已解压的文件夹找到apps 文件夹并打开,找到struts2-blank.war,对它进行解压,打开解压的 文件夹,可以看到WEB-INF文件夹,打开WEB-INF文件夹,...
分类:其他好文   时间:2014-08-16 11:03:10    阅读次数:276
Python中逗号的三种作用
最近研究python 遇到个逗号的问题 一直没弄明白 今天总算搞清楚了1.逗号在参数传递中的使用: 这种情况不多说 没有什么不解的地方 就是形参或者实参传递的时候参数之间的逗号 例如def abc(a,b)或者abc(1,2)2.逗号在类型转化中的使用 主要是元组的转换 例如:>>> a=11>>....
分类:编程语言   时间:2014-08-16 10:56:10    阅读次数:200
Python 访问 LinkedIn (API)
Python 访问 LinkedIn (API)...
分类:编程语言   时间:2014-08-16 08:34:30    阅读次数:781
[leetcode]Minimum Path Sum
Minimum Path SumGiven amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along ...
分类:其他好文   时间:2014-08-16 02:13:49    阅读次数:189
Get size of all tables in database
http://stackoverflow.com/questions/7892334/get-size-of-all-tables-in-databaseSELECT t.NAME AS TableName, s.Name AS SchemaName, p.rows AS Row...
分类:数据库   时间:2014-08-16 00:57:29    阅读次数:289
python 下的crc16计算模块 XCRC16
又一次突然遇到用python处理modbus通信而需要crc16校验的问题,当时在百度上没找到,在google上找到了一个外国人开发的python包,结果安装好了之后发现校验的不正确(可能是使用的模式串不一样,xcrc16的模式串为...
分类:编程语言   时间:2014-08-15 23:53:49    阅读次数:622
Objective-C-类(static)方法、实例方法、overwrite(覆写)、属性(property)复习
先来定义一个Human父类定义部分:1234567891011121314151617181920//// Human.h// OOP//// Created by jimmy.yang on 11-2-9.// Copyright 2011 __MyCompanyName__. All right...
分类:其他好文   时间:2014-08-15 23:47:09    阅读次数:329
[leetcode]Unique Binary Search Trees II
Unique Binary Search Trees IIGivenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your pr...
分类:其他好文   时间:2014-08-15 23:44:29    阅读次数:280
Python Style Guide
Python编程风格规范
分类:编程语言   时间:2014-08-15 23:43:59    阅读次数:318
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!