码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
popen()
popen()函数 1 /*============================================ 2 > Copyright (C) 2014 All rights reserved. 3 > FileName:my_ponen.c 4 > author:donald 5 > d...
分类:其他好文   时间:2014-08-22 02:46:25    阅读次数:174
管道通信之无名管道---pipe()
pipe()函数在子进程产生之前就应该存在。父子进程之间只进行一次传递 1 /*============================================ 2 > Copyright (C) 2014 All rights reserved. 3 > FileName:onep...
分类:其他好文   时间:2014-08-22 02:46:15    阅读次数:293
activeMQ 备忘
activemq-all-5.5.0.jar:所有MQ JAR包的集合,用于用户系统调用 bin:其中包含MQ的启动脚本 conf:包含MQ的所有配置文件 data:日志文件及持久性消息数据 example:MQ的示例 lib:MQ运行所需的所有Lib webapps:MQ的Web...
分类:其他好文   时间:2014-08-22 01:41:05    阅读次数:196
UVA 10078 The Art Gallery
Problem:Century Artshas hundreds of art galleries scattered all around the country and you are hired to write a program that determines whether any of...
分类:其他好文   时间:2014-08-22 01:34:25    阅读次数:240
在windows环境下基于sublime text3的node.js开发环境搭建
首先安装sublime text3,百度一堆,自己找吧。理论上sublime text2应该也可以。我只能说一句:这个软件实在是太强悍了。 跨平台,丰富的插件体系,加上插件基本上就是一个强悍的ide了。目前我在使用的主要是Emmet、Python、还有一些格式化的插件(xml,json),加上这次安...
分类:Windows程序   时间:2014-08-22 01:29:15    阅读次数:329
Missile:双状态DP
题目 描述 Long , long ago ,country A invented a missile system to destroy the missiles from their enemy . That system can launch only one missile to destroy multiple missiles if the heights of all the...
分类:其他好文   时间:2014-08-22 00:26:05    阅读次数:218
Python 远程调用MetaSploit
(1)安装Python的msgpack类库,MSF官方文档中的数据序列化标准就是参照msgpack。 root@kali:~# apt-get install python-setuptools root@kali:~# easy_install msgpack-python   (2)创建createdb_sql.txt: create database msf; create us...
分类:编程语言   时间:2014-08-22 00:23:25    阅读次数:307
[Python]threading local 线程局部变量小测试
概念      有个概念叫做线程局部变量,一般我们对多线程中的全局变量都会加锁处理,这种变量是共享变量,每个线程都可以读写变量,为了保持同步我们会做枷锁处理。但是有些变量初始化以后,我们只想让他们在每个线程中一直存在,相当于一个线程内的共享变量,线程之间又是隔离的。python threading模块中就提供了这么一个类,叫做local。 多线程中共享变量和局部变量的区别我画两个小...
分类:编程语言   时间:2014-08-22 00:21:15    阅读次数:230
UVA - 12075 Counting Triangles
Description Triangles are polygons with three sides and strictly positive area. Lattice triangles are the triangles all whose vertexes have integer coordinates. In this problem you have to find the...
分类:其他好文   时间:2014-08-21 22:56:15    阅读次数:443
排序算法分析【五】:归并排序(附Python&C++代码)
归并排序:将两个已经排序的串行合并成一个串行的操作。 算法描述如下: 申请空间,使其大小为两个已经排序串行之和,该空间用来存放合并后的串行;设定两个指针,最初位置分别为两个已经排序串行的起始位置;比较两个指针所指向的元素,选择相对小的元素放入到合并空间,并移动指针到下一位置;重复步骤3直到某一指针到达串行尾将另一串行剩下的所有元素直接复制到合并串行尾...
分类:编程语言   时间:2014-08-21 22:49:05    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!