在eclipse中首次新建项目的时候,出现Project interpreter not specified(大致可以理解为:没有执行的项目编译者)原因就是安装了pydev之后,我们的python还没有安全的跟eclipse相结合起来,需要添加python的编译环境等解决方案:点击eclipse——...
分类:
系统相关 时间:
2014-06-20 19:32:34
阅读次数:
224
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
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
Eclipse+pydev2.2+python2.7 中文乱码问题Eclipse的设置window->preferences->general->editors->text editors->spelling->encoding->UTF-8window->preferences->workspac...
分类:
编程语言 时间:
2014-06-20 15:40:06
阅读次数:
220
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