python socket可以实现socket通信功能,还可以与php, js等程序进行socket通信,达到在网页中嵌入Python程序的目的。
Python中使用socket模块完成socket通信功能,其提供底层的套接字访问接口。
项目中,Python通过socket与前端js通信,读入数据,处理后传回。...
分类:
编程语言 时间:
2014-06-10 19:21:09
阅读次数:
312
先容哥叹息一句,此奥~,这什么g8情况,没头脑的装了将近3g的OpenCV,结果没啥用。。。
入题!!环境为Python2.7
严格按照一下步骤操作,必成功:
所需软件如下:
VideoCapture: http://videocapture.sourceforge.net/VideoCapture-0.9-5.zip
MyEclipse 插件PyDev:
http://ncu.d...
分类:
编程语言 时间:
2014-06-10 18:44:17
阅读次数:
390
mount 命令
1 查看分区
ls /dev/sda*
或者 fdisk -l
2 挂载操作
mount /dev/sda1 /mnt/ #将sda1挂载到 /mnt目录下#
3查看挂载情况
mount 或者 ls /mnt/
4 取消挂载
umount /dev/sda1
5 如果sda1正在使用中无法卸载可以使用
duser -m /mnt...
分类:
系统相关 时间:
2014-06-10 18:31:24
阅读次数:
283
一、什么是事务?
事务(Transaction)就是一组SQL语句,这组SQL语句是一个逻辑工作单元。可以认为事务就是一组不可分割的SQL语句,其结果就是一个整体,永久性的修改数据库的内容,或者作为一个整体取消对数据库的修改。下面一个例子很好的说明了,什么是事务
针对上面的描述可以看出,事务的提出主...
分类:
其他好文 时间:
2014-06-10 17:16:10
阅读次数:
206
1.准备工作jdk:eclipse:Maven:libprotoc
:https://developers.google.com/protocol-buffers/hadoop:http://www.apache.org/dyn/closer.cgi/hadoop/common/添加开源中国mave...
分类:
系统相关 时间:
2014-06-10 17:07:37
阅读次数:
356
原题地址:https://oj.leetcode.com/problems/integer-to-roman/题意:Given
an integer, convert it to a roman numeral.Input is guaranteed to be within the
range f...
分类:
编程语言 时间:
2014-06-10 17:06:11
阅读次数:
261
http://www.eoeandroid.com/thread-327767-1-1.html
dhroidhttp://www.eoeandroid.com/thread-324764-1-1.html
https://github.com/gdpancheng/ioc_androidLoonA...
分类:
移动开发 时间:
2014-06-10 16:53:47
阅读次数:
216
原题地址:https://oj.leetcode.com/problems/letter-combinations-of-a-phone-number/题意:Given
a digit string, return all possible letter combinations that the ...
分类:
编程语言 时间:
2014-06-10 16:40:57
阅读次数:
223
原题地址:https://oj.leetcode.com/problems/longest-common-prefix/题意:Write
a function to find the longest common prefix string amongst an array of
strings.解...
分类:
编程语言 时间:
2014-06-10 16:31:52
阅读次数:
261
1、安装GIT核心wget
https://www.kernel.org/pub/software/scm/git/git-2.0.0.tar.gztar -zvxf
git-2.0.0.tar.gz 解压进入git解压目录,然后配置、安装:autoconf./configure --with-cu...
分类:
其他好文 时间:
2014-06-10 16:16:10
阅读次数:
303