ubuntu 12.04自带的php版本是5.3.x的,不支持explode(...)[]的语法,故升级到5.4.x。aptitude install python-software-propertiesadd-apt-repository ppa:ondrej/php5-oldstableapti...
分类:
Web程序 时间:
2014-06-20 18:42:32
阅读次数:
301
在eclipse中首次新建项目的时候,出现Project interpreter not specified(大致可以理解为:没有执行的项目编译者)原因就是安装了pydev之后,我们的python还没有安全的跟eclipse相结合起来,需要添加python的编译环境等解决方案:点击eclipse——...
分类:
系统相关 时间:
2014-06-20 17:52:11
阅读次数:
227
相同功能,演进实现数据文件sarah2.txtsarah Sweeney,2002-6-17,2:58,2.58,2:39,2-25,2-55,2:54,2.18,2:55,2:551- 返回dictreturn({'Name':data_list.pop(0),'DOB':data_list.po...
分类:
编程语言 时间:
2014-06-20 17:51:26
阅读次数:
237
Timer是一个经常使用的东西,它有3种类型的Timer。分别是: 1.定义在System.Windows.Forms里; 2.定义在System.Threading.Timer类里; 3.定义在System.Timers.Timer类里; ◆System.Windows.Forms.T...
分类:
其他好文 时间:
2014-06-20 17:11:20
阅读次数:
169
ubuntu 12.04自带的php版本是5.3.x的,不支持explode(...)[]的语法,故升级到5.4.x。aptitude install python-software-propertiesadd-apt-repository ppa:ondrej/php5-oldstableapti...
分类:
Web程序 时间:
2014-06-20 17:02:21
阅读次数:
316
在eclipse中首次新建项目的时候,出现Project interpreter not specified(大致可以理解为:没有执行的项目编译者)原因就是安装了pydev之后,我们的python还没有安全的跟eclipse相结合起来,需要添加python的编译环境等解决方案:点击eclipse——...
分类:
系统相关 时间:
2014-06-20 16:12:28
阅读次数:
239
使用工具:python2.7,pyqt4,pyinstaller,pywin32 先贴代码 1 import sys 2 from PyQt4 import QtGui,QtCore 3 4 import threading 5 import thread 6 import os ...
分类:
其他好文 时间:
2014-06-20 15:41:23
阅读次数:
328
ubuntu 12.04自带的php版本是5.3.x的,不支持explode(...)[]的语法,故升级到5.4.x。aptitude install python-software-propertiesadd-apt-repository ppa:ondrej/php5-oldstableapti...
分类:
Web程序 时间:
2014-06-20 15:22:35
阅读次数:
340
在eclipse中首次新建项目的时候,出现Project interpreter not specified(大致可以理解为:没有执行的项目编译者)原因就是安装了pydev之后,我们的python还没有安全的跟eclipse相结合起来,需要添加python的编译环境等解决方案:点击eclipse——...
分类:
系统相关 时间:
2014-06-20 14:34:19
阅读次数:
409
1. copy.copy 浅拷贝 只拷贝父对象,不会拷贝对象的内部的子对象。2. copy.deepcopy 深拷贝 拷贝对象及其子对象一个很好的例子:# -*- coding: gbk -*-#! /auto/ERP/python_core/chapter'''Created on 2014年6月...
分类:
编程语言 时间:
2014-06-20 14:16:13
阅读次数:
297