码迷,mamicode.com
首页 >  
搜索关键字:python email from to    ( 191911个结果
node.js 安装 测试
2014年5月1日 18:48:01安装:系统是centos,里边的python版本是2.4,但是node.js 源码tar包安装要求是 2.6 或者 2.7下载python 2.7编译安装,注意,可以不卸载原有系统中的python,编译安装2.7时,默认安装,不要在配置时指定安装路径默认安装的时候...
分类:Web程序   时间:2014-07-22 22:59:55    阅读次数:346
python for else
>>> for i in range(0,10):if i > 10:break;else:print "hello world";输出:hello world>>> for i in range(0,10):if i > 5:break;else:print "hello world";没有输出-...
分类:编程语言   时间:2014-05-01 21:13:53    阅读次数:368
HP EliteBook 8770p打开Vt-x
activating vt-x from biosIf you have HP EliteBook 8770w do:Shutdown your mobile workstation.Push startup buttonpush ESC keypush F10 to open BIOS setup...
分类:其他好文   时间:2014-05-01 21:08:36    阅读次数:512
python学习笔记九——文件与目录
1.python进行文件读写的函数是open或file类 mode:r 只读 r+ 读写 w 写入,先删除原文件,再重新写入,如果文件没有则创建 w+ 读写,先删除原文件,再重新写入,如果文件没有则创建(可写入和输出) a 写入,在文件末尾追加新的内容,文件...
分类:编程语言   时间:2014-05-01 21:00:16    阅读次数:402
hdu 1074 Doing Homework
Problem DescriptionIgnatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline o...
分类:其他好文   时间:2014-05-01 20:49:40    阅读次数:563
python学习笔记十——异常处理
1.try: command except 错误类型,记录错误信息变量: command finally: command try...finally的用处是无论是否发生异常都要确保资源释放代码的执行。一般来说,如果没有发生错误,执行过try语句块之后执行finally语句块,完成整个流程。...
分类:编程语言   时间:2014-05-01 20:27:21    阅读次数:460
Remove Duplicates from Sorted Array
没有想通为什么这个简单的问题竟然不是那么简单,太小看它了,以下是两个别人的很不错的solution:Solution1: 1 public class Solution { 2 public int removeDuplicates(int[] A) { 3 // Start...
分类:其他好文   时间:2014-05-01 20:19:26    阅读次数:384
Python类的__getitem__和__setitem__特殊方法
class testsetandget: kk = {}; def __getitem__(self, key): return self.kk[key]; def __setitem__(self, key, value): self.kk[key] = value;a = testset...
分类:编程语言   时间:2014-05-01 20:16:13    阅读次数:449
Keyboard input
Keyboard inputPython provides a build-in function called raw_input (in version 2.x) that gets input from the keyboard. In Python 3.x we use input(). W...
分类:其他好文   时间:2014-05-01 19:23:26    阅读次数:392
[cocos2dx 3.0 + xcode]坑点记录
1: 新项目创建 1.下载最新Python,安装 2.解压引擎包 3.运行终端,切换到引擎目录(直接cd拖动文件夹到光标即可得到路径) 4.按照文档例子: $ cd cocos2d-x $ ./setup.py $ source FILE_TO_SAVE_S...
分类:其他好文   时间:2014-05-01 19:16:21    阅读次数:319
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!