摘要: Print/Printf 区别 Print: 可以打印出字符串, 和变量 Printf: 只可以打印出格式化的字符串, 可以输出字符串类型的变量, 不可以输出整形变量和整形 fmt.Println / println 区别 以nemo的答案为基础: println是一种内置于该语言中的函数。 它位于 阅读全文
posted @ 2019-02-14 17:25 张兆晨 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 部分代码非原创 不定期更新 PHP jQuery.ajax function get_all_header() { // 忽略获取的header数据。这个函数后面会用到。主要是起过滤作用 $ignore = array('host','accept','content-length','conten 阅读全文
posted @ 2018-07-29 15:06 张兆晨 阅读(7386) 评论(0) 推荐(0) 编辑
摘要: Linux 复制命令 一般的复制 1. cp /源文件 /目标文件夹 (:把源文件放到文件夹下) 2. cp /源文件 /目标文件名 (:把源文件命名为“目标文件夹名”) 3.如果是要复制文件夹则需要加上-R,否则只能复制当前空文件夹 4.如果原来的文件夹下面有很多重名的文件夹,这时候会提示是否覆盖 阅读全文
posted @ 2018-01-17 10:06 张兆晨 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 转载自: http://blog.csdn.net/dq_dm/article/details/47065323 Anaconda is a completely free Python distribution (including for commercial use and redistrib 阅读全文
posted @ 2017-11-21 10:04 张兆晨 阅读(3196) 评论(0) 推荐(0) 编辑
摘要: 转载自: http://www.jianshu.com/p/8dbdfbd3716d 一.pyinstaller简介 pyinstaller将Python脚本打包成可执行程序,使在没有Python环境的机器上运行最新版是pyinstaller 3.1.1。支持python2.7和python3.3+ 阅读全文
posted @ 2017-11-17 14:43 张兆晨 阅读(13056) 评论(0) 推荐(0) 编辑
摘要: [转载] [http://blog.sina.com.cn/s/blog_4a50d85b0100uk3c.html] 1、乘法运算符 2、定义指针 int *p = 0; 还是 int* p = 0;? 后一种比较容易这样理解:定义了一个变量p,它是指针型的(更详细一点,是指向int的指针型),相 阅读全文
posted @ 2017-03-20 16:51 张兆晨 阅读(3896) 评论(1) 推荐(1) 编辑
摘要: function check 统计总数; function count 生成结果; 阅读全文
posted @ 2017-03-08 20:45 张兆晨 阅读(427) 评论(0) 推荐(0) 编辑