一、Python文件I/O 打印到屏幕 读取键盘输入 打开和关闭文件 open 函数 你必须先用Python内置的open()函数打开一个文件,创建一个file对象,相关的方法才可以调用它进行读写。 语法: 各个参数的细节如下: file_name:file_name变量是一个包含了你要访问的文件名 ...
分类:
编程语言 时间:
2017-04-01 23:43:41
阅读次数:
349
wget http://staruml.io/download/release/v2.8.0/StarUML-v2.8.0-64-bit.deb wget http://security.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11... ...
分类:
其他好文 时间:
2017-04-01 19:03:26
阅读次数:
397
1.下载 FFmpeg 源码 这一步可能会花比较长的时间 2.编译 FFmpeg for Android 2.1.修改 FFmpeg 的 configure 由于FFMPEG默认编译出来的动态库文件名的版本号在.so之后(例如“libavcodec.so.5.100.1”),但是android平台不 ...
分类:
移动开发 时间:
2017-04-01 00:37:29
阅读次数:
831
python基础作业 1.执行python脚本的两种方法 脚本前面直接指定解释器 在脚本开始前声明解释器 2.简述位,字节的关系 每一个字节占用八个比特位 3, 简述ascii、unicode、utf- ‐8、gbk的关系 utf-‐8 <-- unicode <-- gbk <-- ascii ...
分类:
编程语言 时间:
2017-03-31 23:44:26
阅读次数:
328
最近开始做行人检测,因此开始接触faster-rcnn,这里贴上配置教程(亲测可行),不过是基于cpu的,蓝瘦。。。 参考博客:http://www.tuicool.com/articles/nYJrYra(opencv配置) http://blog.csdn.net/sinat_17196995/ ...
分类:
系统相关 时间:
2017-03-31 09:17:59
阅读次数:
1068
mysql-group-replication 是由mysql-5.7.17这个版本提供的强一致的高可用集群解决方案 1、环境规划 2、mysql的配置文件 balm001的配置如下: [mysql] auto-rehash [mysqld] ####: for global user =mysql ...
分类:
数据库 时间:
2017-03-30 19:27:57
阅读次数:
950
/************************ @HJ 2017/3/30 参考http://blog.sina.com.cn/s/blog_4b0020f301010qcz.html修改的代码 @主要调用opencv相关函数,从视频流中提取出图片序列 @需要注意的问题: cvReleaseIm... ...
分类:
其他好文 时间:
2017-03-30 17:02:32
阅读次数:
143
#include #include using namespace std; int main() { // string s1="please input your name"; string s2=":"; string s3=s1+s2; //string s5="a"+"b";不允许这样定义... ...
分类:
其他好文 时间:
2017-03-30 12:58:42
阅读次数:
142
Time limit 1000 ms Memory limit 131072 kB The life of Little A is good, and, he managed to get enough money to run a hotel. The best for him is that h ...
分类:
移动开发 时间:
2017-03-30 12:58:07
阅读次数:
262
CentOS7搭建Zabbix 一、安装数据库: 1、 安装数据库:sudo yum grouinstall mariadb mariadb-server –y 2、 启动数据库:sudo systemctl start mariadb 3、 设置开机启动:sudo systemctl enable ...
分类:
其他好文 时间:
2017-03-29 23:03:04
阅读次数:
283