刚学python,学到了有关于类和对象的地方。对一个概念有点模糊,后来通过实践编码找到一定规律
在python中
class test(object):
id=2
name='tt' list=['tt','dd']
def change(self,newA,new_id):
self.id=new_id
self.age=new...
分类:
编程语言 时间:
2014-06-25 19:29:20
阅读次数:
267
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use xcode-select to change执行 sudo xcode-select -swi...
分类:
其他好文 时间:
2014-06-25 16:13:31
阅读次数:
190
First, update the attribute input type to multiselect:UPDATE eav_attribute SETentity_type_id = '4',attribute_model = NULL,backend_model = 'eav/entity_...
分类:
其他好文 时间:
2014-06-25 14:13:24
阅读次数:
285
JavaScript获取某年某月的最后一天
1、实现源码
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in th...
分类:
编程语言 时间:
2014-06-24 22:36:13
阅读次数:
350
一:勘误
classifier类中: def fprob(self, f, cat):
if self.catcount(cat) == 0:
return 0
#notice: rember change int to double or float
# + 0.0 or *1.0 is ok, other wise, may get 0.
return self.fc...
分类:
其他好文 时间:
2014-06-24 17:49:42
阅读次数:
211
题目描述There are a bunch of stones on the beach; Stone color is white or black. Little Sheep has a magic brush, she can change the color of a continuous ...
分类:
其他好文 时间:
2014-06-22 23:46:15
阅读次数:
199
解决svn:This client is too old问题
1、下载官方的python文件
http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-svn-wc-format.py
2、下载安装python,执行python文件时有用 ,下载地址:http://code.go...
分类:
其他好文 时间:
2014-06-22 18:36:10
阅读次数:
354
QlikView中的图表中可以通过勾选某些配置就可以很方便的进行图表类型转换,让用户可以在图表上面选择是要看条形图或者柱状图或者垂直图等detail数据。
在Fast Type Change中选中如上图所示的选项之后,图表的右上角多了一个Fast Change选项,变成下面这样:
因为在第一幅图里面的右下角Preferred Icon勾选的是In Caption,因此该控制Char...
分类:
其他好文 时间:
2014-06-22 17:41:49
阅读次数:
300
组里面花了大价钱请人设计了一套UI的solution,不过是以网站思路设计的报表样式,但是该报表UI设计团队本身由于没有QlikView的背景,因此设计出来的报表不知道能不能再QlikView中实现,因此我等Developer们就开始了研究之路。
第一个研究的对象是要将图例放在图表的下面,但是QlikView本身设置里面只允许在图表右侧上中下。不能设置在整个图表的下方或者左边。当然首先要注...
分类:
其他好文 时间:
2014-06-22 17:40:26
阅读次数:
217
The android provide two types of animation.Tween Animation is one,such as rotation,translation,scale,gradual change(gradient).
main types:
Animation、AlphaAnimation、RotateAnimation、ScaleAnimation...
分类:
移动开发 时间:
2014-06-22 08:29:06
阅读次数:
239