Chinaunix首页 | 论坛 | 博客
  • 博客访问: 264791
  • 博文数量: 103
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 705
  • 用 户 组: 普通用户
  • 注册时间: 2013-05-02 16:15
文章分类

全部博文(103)

文章存档

2014年(8)

2013年(95)

我的朋友

发布时间:2013-12-19 21:58:21

import sysimport wxclass InsertFrame(wx.Frame):    def __init__(self,parent,id):        wx.Frame.__init__(self,parent,id,"Frame With Button",size=(300,100))        panel = wx.Panel(self)   .........【阅读全文】

阅读(2686) | 评论(0) | 转发(0)

发布时间:2013-12-19 21:30:27

import wximport sysclass Frame(wx.Frame):    """Frame class that displays an image"""    def __init__(self,parent,id,title):        print "Frame __init__"        wx.Frame.__init__(self,parent,.........【阅读全文】

阅读(1274) | 评论(0) | 转发(0)

发布时间:2013-12-19 14:43:54

import timefrom threading import Thread,Condition,currentThreadclass Goods:        def __init__(self):                self.count=0        def produce(self,num=1):              &nb.........【阅读全文】

阅读(1118) | 评论(0) | 转发(0)

发布时间:2013-12-19 11:40:53

import threadingimport timeclass Counter:        def __init__(self):                self.value=0        def increment(self):                self.value=self.value+1  &.........【阅读全文】

阅读(2445) | 评论(0) | 转发(0)

发布时间:2013-12-19 11:01:23

#输入流def FileInputStream(filename):        try:                f = open(filename)                for line in f:                       .........【阅读全文】

阅读(2256) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册