- 博客(6)
- 资源 (3)
- 收藏
- 关注
原创 wxpthon 控件编程
学习网址:http://www.jb51.net/article/50852.htm# -*- coding: utf-8 -*-import wx import numpy as np import matplotlib # matplotlib采用WXAgg为后台,将matplotlib嵌入wxPython中 matplotlib
2017-03-20 01:19:54 868
转载 wxpython类似TK中的label frame实现
StaticBoxPython code?123456789101112131415161718192021222324252627
2017-03-16 00:59:25 1333
转载 python中的self理解
(原文是 Python's Magical Self ,来自 http://concentricsky.com )Python的self参数有时真让人抓狂,比如,你必须在每一个类的方法里显示定义self,然后,它会霸占不需要它们的地方。 [python] view plain copy clas
2017-03-13 00:41:36 1658
转载 Python中super()函数简介及用法分享
首先看一下super()函数的定义:super([type [,object-or-type]])Return a **proxy object** that delegates method calls to a **parent or sibling** class of type.返回一个代理对象, 这个对象负责将方法调用分配给第一个参数的一个父类或者同辈的类去完成.pa
2017-03-12 22:58:43 7489
转载 Python中的super用法详解
一、问题的发现与提出在Python类的方法(method)中,要调用父类的某个方法,在Python 2.2以前,通常的写法如代码段1:代码段1:复制代码 代码如下: class A: def __init__(self): print "enter A" print "leave A" class B(A): def __init__(s
2017-03-12 22:56:24 1443
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人